API17

Difference between revisions of "JInstaller::parseFiles"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JInstaller::parseFiles|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JInstaller::parseFiles|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JInstaller::parseFiles ($element, $cid=0, $oldFiles=null, $oldMD5=null)
+
public function parseFiles (
 +
        $element
 +
        $cid=0
 +
        $oldFiles=null
 +
        $oldMD5=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 39: Line 41:
 
|Array
 
|Array
 
|null
 
|null
|List of old MD5 sums (indexed by filename with value as MD5)  
+
|List of old MD5 sums (indexed by filename with value as MD5)
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean True on success
boolean True on success
+
* '''Defined''' on line 967 of libraries/joomla/installer/installer.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/installer/installer.php (line 978)
 
* see source code in [[jplatform:installer/installer.php#cl-978|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JInstaller::parseFiles source code''' on [[jplatform:installer/installer.php#cl-959|BitBucket]]
 +
* {{JVer|11.1}} Class [[JInstaller/11.1|JInstaller]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Installer/11.1|Installer]]
 +
* [[JInstaller::parseFiles|Other versions of JInstaller::parseFiles]]
 +
{{SeeAlso:JInstaller::parseFiles}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JInstaller::parseFiles|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JInstaller::parseFiles|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JInstaller/11.1|JInstaller]]
+
===User contributed notes===
* [[JInstaller::parseFiles|Other versions of this method]]
 
{{SeeAlso:JInstaller::parseFiles}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 63: Line 64:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JInstaller]][[Category:JInstaller::parseFiles]]</noinclude>
 
<noinclude>[[Category:JInstaller]][[Category:JInstaller::parseFiles]]</noinclude>

Revision as of 21:11, 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.

Joomla 11.1 JInstaller::parseFiles[edit]

Description[edit]

Method to parse through a files element of the installation manifest and take appropriate action.

Template:Description:JInstaller::parseFiles [Edit Descripton]

public function parseFiles (
        $element
        $cid=0
        $oldFiles=null
        $oldMD5=null
)
Parameter Type Default Description
$element The xml node to process
$cid int 0 Application ID of application to install to
$oldFiles Array null List of old files (JXMLElement's)
$oldMD5 Array null List of old MD5 sums (indexed by filename with value as MD5)
  • Returns boolean True on success
  • Defined on line 967 of libraries/joomla/installer/installer.php
  • Since Joomla 11.1

See also[edit]

Template:SeeAlso:JInstaller::parseFiles [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />