Difference between revisions of "JFile::delete"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JFile::delete|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JFile::delete|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function delete ($file) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 27: | Line 24: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' boolean True on success | |
− | boolean True on success | + | * '''Defined''' on line 147 of libraries/joomla/filesystem/file.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/filesystem/file.php | + | * '''Referenced by''' |
− | * | + | ** [[JInstaller::abort/11.1|JInstaller::abort]] |
− | + | ** [[JInstallerHelper::cleanupInstall/11.1|JInstallerHelper::cleanupInstall]] | |
− | * [[JInstaller::abort/11.1|JInstaller::abort]] | + | ** [[JFolder::delete/11.1|JFolder::delete]] |
− | * [[JInstallerHelper::cleanupInstall/11.1|JInstallerHelper::cleanupInstall]] | + | ** [[JPath::isOwner/11.1|JPath::isOwner]] |
− | * [[JFolder::delete/11.1|JFolder::delete]] | + | ** [[JInstaller::parseFiles/11.1|JInstaller::parseFiles]] |
− | * [[JPath::isOwner/11.1|JPath::isOwner]] | + | ** [[JInstaller::removeFiles/11.1|JInstaller::removeFiles]] |
− | * [[JInstaller::parseFiles/11.1|JInstaller::parseFiles]] | + | ** [[JInstallerPlugin::uninstall/11.1|JInstallerPlugin::uninstall]] |
− | * [[JInstaller::removeFiles/11.1|JInstaller::removeFiles]] | + | ** [[JInstallerPackage::uninstall/11.1|JInstallerPackage::uninstall]] |
− | * [[JInstallerPlugin::uninstall/11.1|JInstallerPlugin::uninstall]] | + | ** [[JInstallerLibrary::uninstall/11.1|JInstallerLibrary::uninstall]] |
− | * [[JInstallerPackage::uninstall/11.1|JInstallerPackage::uninstall]] | + | ** [[JInstallerFile::uninstall/11.1|JInstallerFile::uninstall]] |
− | * [[JInstallerLibrary::uninstall/11.1|JInstallerLibrary::uninstall]] | ||
− | * [[JInstallerFile::uninstall/11.1|JInstallerFile::uninstall]] | ||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JFile::delete source code''' on [[jplatform:filesystem/file.php#cl-139|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JFile/11.1|JFile]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Filesystem/11.1|Filesystem]] | ||
+ | * [[JFile::delete|Other versions of JFile::delete]] | ||
+ | {{SeeAlso:JFile::delete}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JFile::delete|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JFile::delete|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 58: | Line 55: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JFile]][[Category:JFile::delete]]</noinclude> | <noinclude>[[Category:JFile]][[Category:JFile::delete]]</noinclude> |
Revision as of 20:56, 27 April 2011
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JFile::delete[edit]
Description[edit]
Delete a file or array of files.
Template:Description:JFile::delete [Edit Descripton]
public static function delete ($file)
Parameter | Type | Default | Description |
---|---|---|---|
$file | mixed | The file name or an array of file names |
- Returns boolean True on success
- Defined on line 147 of libraries/joomla/filesystem/file.php
- Since
- Referenced by
See also[edit]
- JFile::delete source code on BitBucket
- Class JFile
- Subpackage Filesystem
- Other versions of JFile::delete
Template:SeeAlso:JFile::delete [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />