[ Index ] |
|
Code source de PHP PEAR 1.4.5 |
[Code source] [Imprimer] [Statistiques]
package.xml parsing class, package.xml version 1.0 PHP versions 4 and 5
Author: | Greg Beaver <cellog@php.net> |
Copyright: | 1997-2006 The PHP Group |
License: | http://www.php.net/license/3_0.txt PHP License 3.0 |
Version: | CVS: $Id: v1.php,v 1.22 2006/03/27 05:25:48 cellog Exp $ |
Poids: | 461 lignes (17 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 1 fichier PEAR/PackageFile/v1.php |
PEAR_PackageFile_Parser_v1:: (8 méthodes):
fromV2()
setConfig()
setLogger()
parse()
_unIndent()
_element_start_1_0()
_element_end_1_0()
_pkginfo_cdata_1_0()
Classe: PEAR_PackageFile_Parser_v1 - X-Ref
Parser for package.xml version 1.0fromV2($packagefile) X-Ref |
BC hack to allow PEAR_Common::infoFromString() to sort of work with the version 2.0 format - there's no filelist though param: PEAR_PackageFile_v2 |
setConfig(&$c) X-Ref |
Pas de description |
setLogger(&$l) X-Ref |
Pas de description |
parse($data, $file, $archive = false) X-Ref |
param: string contents of package.xml file, version 1.0 return: bool success of parsing |
_unIndent($str) X-Ref |
Unindent given string param: string $str The string that has to be unindented. return: string |
_element_start_1_0($xp, $name, $attribs) X-Ref |
XML parser callback for ending elements. Used for version 1.0 packages. param: resource $xp XML parser resource param: string $name name of ending element return: void |
_element_end_1_0($xp, $name) X-Ref |
XML parser callback for ending elements. Used for version 1.0 packages. param: resource $xp XML parser resource param: string $name name of ending element return: void |
_pkginfo_cdata_1_0($xp, $data) X-Ref |
XML parser callback for character data. Used for version 1.0 packages. param: resource $xp XML parser resource param: string $name character data return: void |
Généré le : Sun Feb 25 14:08:00 2007 | par Balluche grâce à PHPXref 0.7 |