Actions

API17

Difference between revisions of "JInstaller::removeFiles"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JInstaller::removeFiles|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JInstaller::removeFiles|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JInstaller::removeFiles ($element, $cid=0)
+
public function removeFiles (
 +
        $element
 +
        $cid=0
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 29: Line 29:
 
|int
 
|int
 
|0
 
|0
|Application ID of application to remove from  
+
|Application ID of application to remove from
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean True on success
boolean True on success
+
* '''Defined''' on line 1416 of libraries/joomla/installer/installer.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/installer/installer.php (line 1434)
+
* see source code in [[jplatform:installer/installer.php#cl-1434|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JInstaller::removeFiles source code''' on [[jplatform:installer/installer.php#cl-1408|BitBucket]]
 +
* {{JVer|11.1}} Class [[JInstaller/11.1|JInstaller]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Installer/11.1|Installer]]
 +
* [[JInstaller::removeFiles|Other versions of JInstaller::removeFiles]]
 +
{{SeeAlso:JInstaller::removeFiles}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JInstaller::removeFiles|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JInstaller::removeFiles|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JInstaller/11.1|JInstaller]]
+
===User contributed notes===
* [[JInstaller::removeFiles|Other versions of this method]]
+
{{SeeAlso:JInstaller::removeFiles}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: Line 52:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JInstaller]][[Category:JInstaller::removeFiles]]</noinclude>
 
<noinclude>[[Category:JInstaller]][[Category:JInstaller::removeFiles]]</noinclude>

Revision as of 21:12, 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 JInstaller::removeFiles

Description

Method to parse through a files element of the installation manifest and remove the files that were installed.

Description:JInstaller::removeFiles [Edit Descripton]

public function removeFiles (
        $element
        $cid=0
)
Parameter Type Default Description
$element object The xml node to process
$cid int 0 Application ID of application to remove from
  • Returns boolean True on success
  • Defined on line 1416 of libraries/joomla/installer/installer.php
  • Since Joomla 11.1

See also

SeeAlso:JInstaller::removeFiles [Edit See Also]

User contributed notes

<CodeExamplesForm />