API17:JInstaller::parseFiles
From Joomla! Documentation
(Difference between revisions)
(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> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | 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''' boolean True on success | |
| − | boolean True on success | + | * '''Defined''' on line 967 of libraries/joomla/installer/installer.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/installer/installer.php | + | |
| − | * | + | |
| − | + | ||
===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> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<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
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.
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
See also
-
JInstaller::parseFiles source code on BitBucket
-
Class JInstaller
-
Subpackage Installer
- Other versions of JInstaller::parseFiles
SeeAlso:JInstaller::parseFiles [Edit See Also]
User contributed notes
<CodeExamplesForm />
