API17:JFolder::delete
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JFolder::delete|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JFolder::delete|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public static | + | public static function delete ($path) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 24: | Line 21: | ||
|string | |string | ||
| | | | ||
| − | |The path to the folder to delete. | + | |The path to the folder to delete. |
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' boolean True on success. | |
| − | boolean True on success. | + | * '''Defined''' on line 281 of libraries/joomla/filesystem/folder.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/filesystem/folder.php | + | * '''Referenced by''' |
| − | * | + | ** [[JInstaller::abort/11.1|JInstaller::abort]] |
| − | + | ** [[JCacheStorageCachelite::clean/11.1|JCacheStorageCachelite::clean]] | |
| − | * [[JInstaller::abort/11.1|JInstaller::abort]] | + | ** [[JInstallerHelper::cleanupInstall/11.1|JInstallerHelper::cleanupInstall]] |
| − | * [[JCacheStorageCachelite::clean/11.1|JCacheStorageCachelite::clean]] | + | ** [[JInstaller::parseFiles/11.1|JInstaller::parseFiles]] |
| − | * [[JInstallerHelper::cleanupInstall/11.1|JInstallerHelper::cleanupInstall]] | + | ** [[JInstaller::removeFiles/11.1|JInstaller::removeFiles]] |
| − | * [[JInstaller::parseFiles/11.1|JInstaller::parseFiles]] | + | ** [[JInstallerTemplate::uninstall/11.1|JInstallerTemplate::uninstall]] |
| − | * [[JInstaller::removeFiles/11.1|JInstaller::removeFiles]] | + | ** [[JInstallerPlugin::uninstall/11.1|JInstallerPlugin::uninstall]] |
| − | * [[JInstallerTemplate::uninstall/11.1|JInstallerTemplate::uninstall]] | + | ** [[JInstallerLibrary::uninstall/11.1|JInstallerLibrary::uninstall]] |
| − | * [[JInstallerPlugin::uninstall/11.1|JInstallerPlugin::uninstall]] | + | ** [[JInstallerComponent::uninstall/11.1|JInstallerComponent::uninstall]] |
| − | * [[JInstallerLibrary::uninstall/11.1|JInstallerLibrary::uninstall]] | + | ** [[JInstallerModule::uninstall/11.1|JInstallerModule::uninstall]] |
| − | * [[JInstallerComponent::uninstall/11.1|JInstallerComponent::uninstall]] | + | ** [[JInstallerLanguage::uninstall/11.1|JInstallerLanguage::uninstall]] |
| − | * [[JInstallerModule::uninstall/11.1|JInstallerModule::uninstall]] | + | ** [[JInstallerFile::uninstall/11.1|JInstallerFile::uninstall]] |
| − | * [[JInstallerLanguage::uninstall/11.1|JInstallerLanguage::uninstall]] | + | |
| − | * [[JInstallerFile::uninstall/11.1|JInstallerFile::uninstall]] | + | |
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JFolder::delete source code''' on [[jplatform:filesystem/folder.php#cl-273|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JFolder/11.1|JFolder]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Filesystem/11.1|Filesystem]] | ||
| + | * [[JFolder::delete|Other versions of JFolder::delete]] | ||
| + | {{SeeAlso:JFolder::delete}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JFolder::delete|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JFolder::delete|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 60: | Line 57: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JFolder]][[Category:JFolder::delete]]</noinclude> | <noinclude>[[Category:JFolder]][[Category:JFolder::delete]]</noinclude> | ||
Revision as of 20:57, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JFolder::delete
Description
Delete a folder.
Description:JFolder::delete [Edit Descripton]
public static function delete ($path)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $path | string | The path to the folder to delete. |
- Returns boolean True on success.
- Defined on line 281 of libraries/joomla/filesystem/folder.php
- Since
- Referenced by
- JInstaller::abort
- JCacheStorageCachelite::clean
- JInstallerHelper::cleanupInstall
- JInstaller::parseFiles
- JInstaller::removeFiles
- JInstallerTemplate::uninstall
- JInstallerPlugin::uninstall
- JInstallerLibrary::uninstall
- JInstallerComponent::uninstall
- JInstallerModule::uninstall
- JInstallerLanguage::uninstall
- JInstallerFile::uninstall
See also
-
JFolder::delete source code on BitBucket
-
Class JFolder
-
Subpackage Filesystem
- Other versions of JFolder::delete
SeeAlso:JFolder::delete [Edit See Also]
User contributed notes
<CodeExamplesForm />
