Actions

API17

Difference between revisions of "JFile::delete"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JFile::delete|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JFile::delete|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JFile::delete ($file)
+
public static function delete ($file)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean True on success
boolean True on success
+
* '''Defined''' on line 147 of libraries/joomla/filesystem/file.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/filesystem/file.php
+
* '''Referenced by'''
===Referenced by===
+
** [[JInstaller::abort/11.1|JInstaller::abort]]
* [[JInstaller/abort/11.1|JInstaller::abort]]
+
** [[JInstallerHelper::cleanupInstall/11.1|JInstallerHelper::cleanupInstall]]
* [[JInstallerHelper/cleanupInstall/11.1|JInstallerHelper::cleanupInstall]]
+
** [[JFolder::delete/11.1|JFolder::delete]]
* [[JFolder/delete/11.1|JFolder::delete]]
+
** [[JPath::isOwner/11.1|JPath::isOwner]]
* [[JPath/isOwner/11.1|JPath::isOwner]]
+
** [[JInstaller::parseFiles/11.1|JInstaller::parseFiles]]
* [[JInstaller/parseFiles/11.1|JInstaller::parseFiles]]
+
** [[JInstaller::removeFiles/11.1|JInstaller::removeFiles]]
* [[JInstaller/removeFiles/11.1|JInstaller::removeFiles]]
+
** [[JInstallerPlugin::uninstall/11.1|JInstallerPlugin::uninstall]]
* [[JInstallerPlugin/uninstall/11.1|JInstallerPlugin::uninstall]]
+
** [[JInstallerPackage::uninstall/11.1|JInstallerPackage::uninstall]]
* [[JInstallerPackage/uninstall/11.1|JInstallerPackage::uninstall]]
+
** [[JInstallerLibrary::uninstall/11.1|JInstallerLibrary::uninstall]]
* [[JInstallerLibrary/uninstall/11.1|JInstallerLibrary::uninstall]]
+
** [[JInstallerFile::uninstall/11.1|JInstallerFile::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>
* [[JFile/11.1|JFile]]
+
===User contributed notes===
* [[JFile::delete|Other versions of this method]]
+
{{SeeAlso:JFile::delete}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 57: 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

Replacement filing cabinet.png
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.

Joomla 11.1 JFile::delete

Description

Delete a file or array of files.

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

See also

SeeAlso:JFile::delete [Edit See Also]

User contributed notes

<CodeExamplesForm />