[ Index ] |
|
Code source de phpMyVisites 2.3 |
[Code source] [Imprimer] [Statistiques]
XML_Unserializer Parses any XML document into PHP data structures.
Author: | Stephan Schmidt <schst@php.net> |
Copyright: | 1997-2005 The PHP Group |
License: | http://www.php.net/license/3_0.txt PHP License 3.0 |
Version: | CVS: $Id: Unserializer.php,v 1.1 2005/12/06 01:50:39 matthieu_ Exp $ |
Poids: | 578 lignes (19 kb) |
Inclus ou requis: | 1 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
XML_Unserializer:: (12 méthodes):
XML_Unserializer()
apiVersion()
resetOptions()
setOption()
setOptions()
unserialize()
getUnserializedData()
getRootName()
startHandler()
endHandler()
cdataHandler()
_createParser()
Classe: XML_Unserializer - X-Ref
XML_UnserializerXML_Unserializer($options = null) X-Ref |
constructor param: mixed $options array containing options for the unserialization |
apiVersion() X-Ref |
return API version return: string $version API version |
resetOptions() X-Ref |
reset all options to default options |
setOption($name, $value) X-Ref |
set an option You can use this method if you do not want to set all options in the constructor |
setOptions($options) X-Ref |
sets several options at once You can use this method if you do not want to set all options in the constructor |
unserialize($data, $isFile = false, $options = null) X-Ref |
unserialize data param: mixed $data data to unserialize (string, filename or resource) param: boolean $isFile data should be treated as a file param: array $options options that will override the global options for this call return: boolean $success |
getUnserializedData() X-Ref |
get the result of the serialization return: string $serializedData |
getRootName() X-Ref |
get the name of the root tag return: string $rootName |
startHandler($parser, $element, $attribs) X-Ref |
Start element handler for XML parser param: object $parser XML parser object param: string $element XML element param: array $attribs attributes of XML tag return: void |
endHandler($parser, $element) X-Ref |
End element handler for XML parser param: object XML parser object param: string return: void |
cdataHandler($parser, $cdata) X-Ref |
Handler for character data param: object XML parser object param: string CDATA return: void |
_createParser() X-Ref |
create the XML_Parser instance return: boolean |
Généré le : Mon Nov 26 14:10:01 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |