Actions

API17

Difference between revisions of "JInstaller::parseFiles"

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: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
+
===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 62: 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

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::parseFiles

Description

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

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

SeeAlso:JInstaller::parseFiles [Edit See Also]

User contributed notes

<CodeExamplesForm />