Gumbo_Converter_Xml
Gumbo_Converter_Abstract | --Gumbo_Converter_Xml
XML Converter Class
Author(s): |
Michael Luster <mluster79@yahoo.com> |
License: | New BSD License |
Copyright: | Copyright (c) 2007, iBayou, Michael Luster |
Link: | http://sourceforge.net/projects/phpgumbo |
Version: | 0.0.1 |
Inherited Methods
Class Variables
string $_class [line 38]
string $_ns [line 42]
int $_options [line 40]
bool $_prefix [line 44]
Class Methods
public Gumbo_Converter_Xml __construct ( [string $class_name], [int $options], [string $ns], [bool $is_prefix] )
[line 55]
Constructor
Parameter(s):
- (string) $class_name :: SimpleXMLElement Class Name
- (int) $options :: LibXML Parameters
- (string) $ns :: XML Namespace
- (bool) $is_prefix
[ Top ]
public void setClassName ( string $name )
[line 107]
Sets the Class Name (must be subclass of SimpleXMLElement)
Parameter(s):
- (string) $name
- throws:
Gumbo_Exception
[ Top ]public void setNamespace ( string $ns ) [line 148]Sets the Namespace
Parameter(s):
- (string) $ns
- throws:
Gumbo_Exception
[ Top ]public void setOptions ( int $options ) [line 129]Sets the Options from LibXML
Parameter(s):
- (int) $options
- throws:
Gumbo_Exception
[ Top ]public void setPrefix ( bool $val ) [line 167]Sets the Prefix option
Parameter(s):
- (bool) $val
- throws:
Gumbo_Exception
[ Top ]Returns a Composite
Parameter(s):
- (string|SimpleXMLElement) $data :: array data
- throws:
Gumbo_Exception - uses:
Gumbo_Branch
[ Top ]Returns a single Composite object from an array
This is a recusive method
Parameter(s):
- (SimpleXMLElement) $data
- throws:
Gumbo_Exception - uses:
Gumbo_Interface_Composite
[ Top ]