XML_Serializer
[ class tree: XML_Serializer ] [ index: XML_Serializer ] [ all elements ]

Class: XML_Unserializer

Source Location: /XML_Serializer-0.4/Unserializer.php

Class Overview

XML_Parser
   |
   --XML_Unserializer

XML_Unserializer


Author(s):

Version:

  • 0.4

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 53]
XML_Unserializer

class to unserialize XML documents that have been created with XML_Serializer. To unserialize an XML document you have to add type hints to the XML_Serializer options.



[ Top ]


Class Variables

$folding =  false

[line 66]

do not use case folding

Type:   boolean


[ Top ]

$options = array(
                        )

[line 59]

default options for the serialization

Type:   array


[ Top ]



Method Detail

XML_Unserializer (Constructor)   [line 98]

XML_Unserializer XML_Unserializer( [mixed $options = null])

constructor
  • Access: public

Parameters:

mixed   $options     array containing options for the serialization

[ Top ]

apiVersion   [line 113]

string apiVersion( )

return API version
  • Return: API version
  • Static: This method can be called statically
  • Access: public

[ Top ]

getUnserializedData   [line 175]

string getUnserializedData( )

get the result of the serialization
  • Access: public

[ Top ]

unserialize   [line 127]

boolean unserialize( mixed $data, [boolean $isFile = false], [array $options = null])

serialize data
  • Access: public

Parameters:

mixed   $data     data to unserialize (string, filename or resource)
boolean   $isFile     string should be treated as a file
array   $options     

[ Top ]


Documentation generated on Sat, 1 May 2004 00:16:44 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.