Source for file unserializeEnum.php
Documentation is available at unserializeEnum.php
* This example shows how to parse attributes from
* @author Stephan Schmidt <schst@php.net>
require_once 'XML/Unserializer.php';
'forceEnum' => array ('item')
// be careful to always use the ampersand in front of the new operator
// userialize the document
if (PEAR ::isError ($status)) {
echo "Error: " . $status->getMessage ();
$data = $unserializer->getUnserializedData ();
// userialize the document
if (PEAR ::isError ($status)) {
echo "Error: " . $status->getMessage ();
$data = $unserializer->getUnserializedData ();
Documentation generated on Mon, 11 Mar 2019 14:00:16 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|