PEAR   Webbased PEAR Package Manager on pc.olisys55.com
Search package by name
 

Package Management
Package Management

 

Package Search
Package Search

 

Channel Management
Channel Management

 

Configuration
Configuration

 
Warning: This package management website is not protected with a password, this is a MAJOR security risk. Please read the README.
  About XML_Serializer-0.18.0
Provides Classes: XML_Serializer, XML_Unserializer
Package XML_Serializer
Summary Swiss-army knive for reading and writing XML files. Creates XML files from data structures and vice versa.
Description XML_Serializer serializes complex data structures like arrays or object as XML documents.
This class helps you generating any XML document you require without the need for DOM.
Furthermore this package can be used as a replacement to serialize() and unserialize() as it comes with a matching XML_Unserializer that is able to create PHP data structures (like arrays and objects) from XML documents, if type hints are available.
If you use the XML_Unserializer on standard XML files, it will try to guess how it has to be unserialized. In most cases it does exactly what you expect it to do.
Try reading a RSS file with XML_Unserializer and you have the whole RSS file in a structured array or even a collection of objects, similar to XML_RSS.

Since version 0.8.0 the package is able to treat XML documents similar to the simplexml extension of PHP 5.
Maintainers Stephan Schmidt <schst@php-tools.net> (lead)
Version 0.18.0
Release Date 2005-10-02
Release License PHP License
Release State beta
Release Notes XML_Serializer:
- Allow the use of '#default' whenever one wants to specify an option for any other key
- fixed bug #4575 for real: XML_Serializer now expects __sleep() to return an array of property names
XML_Unserializer:
- Added new IGNORE_KEYS option to specify a list of tags which will not be unserialized using their names as keys
- Added new GUESS_TYPE option to automatically convert the data to the best matching type
- Allow COMPLEXTYPE to be an array to be able to unserialize to arrays or objects
- Allow the use of '#default' whenever one wants to specify an option for any other tag
Release Deps Package XML_Util >= 1.1.1
Package XML_Parser >= 1.2.6
Package PEAR ==
PHP >= 4.2.0
Extension xml ==
Package.xml Version 1.0
Packaged With PEAR Version 1.4.0
Previous Installed Version - None -
Last Modified 2008-04-16
Options uninstall Uninstall package
More manual Package Documentation
./.. List Files
extra info Extended Package Information
manual pear.php.net Developer Documentation
manual pear.php.net Package Manual