XML_Unserializer::apiVersion (Previous) (Next) XML_Unserializer::getUnserializedData

View this page in Last updated: Sun, 28 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

XML_Unserializer::unserialize()

XML_Unserializer::unserialize() -- unserialize data

Description

Unserialize an XML document from a string or a file.

The way the document is unserialized is influenced by the options you set in the constructor or with setOptions().

Parameter

  • string $data - either the file name of an XML document or a string containing the XML document.

  • boolean $isFile - indicates whether the first parameter should is a filename (TRUE) or an XML string (FALSE).

  • array $options - Options to override the options that have been set previously. The options will only be used for this unserialization and then reset the options you set before.

Return value

Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.

XML_Unserializer::apiVersion (Previous) (Next) XML_Unserializer::getUnserializedData

Download Documentation Last updated: Sun, 28 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.