default

# Class: Php2Xml Source Location: /mikebevz/xsd2php/Php2Xml.php
### Class Overview
    Common
       |
       --Php2Xml
PHP to XML converter #### Author(s): Mike Bevz <myb@mikebevz.com> #### Version: 0.0.4 | ### Variables $logger $phpClass $root $rootTagName | ### Methods __construct addProperty buildXml getXml parseClass parseObjectValue
### Inherited Variables #### Class: Common Common::$basicTypes Common::$debug Common::$dom Common::$lastNsKey Common::$namespaces Common::$phpTypes Common::$reservedWords | ### Inherited Methods #### Class: Common Common::getDocNamespaces() Common::getNsCode() Common::isQName() Common::normalizeType() Convert XMLSchema data type to PHP data type Common::parseDocComments() Parse Doc comments Common::parseParamDocs() Common::parseQName() Common::parseReturnDocs() Common::phpTypeToSoap() Common::resolveNamespace() Resolve short namespace to long, or return the same code if not found Common::urnToPhpName()
### Class Details [line 28] PHP to XML converter #### Tags:
author: | Mike Bevz <myb@mikebevz.com>
version: | 0.0.4
[ Top ] ### Class Variables #### $logger = [line 45] #### Tags:
access: | private
Type: | mixed
[ Top ] #### $phpClass = null [line 33] Php class to convert to XML #### Tags:
access: | private
Type: | Object
[ Top ] #### $root = [line 40] #### Tags:
access: | private
Type: | DOMElement
[ Top ] #### $rootTagName = [line 43] #### Tags:
access: | protected
Type: | mixed
[ Top ] ### Class Methods ### constructor __construct [line 47]
`Php2Xml __construct( [ $phpClass = null])`
#### Tags:
access: | public
#### Parameters:
| $phpClass |
[ Top ] ### method addProperty [line 145]
`void addProperty( $docs, $dom)`
#### Tags:
access: | private
#### Parameters:
| $docs |
| $dom |
[ Top ] ### method buildXml [line 134]
`void buildXml( )`
#### Tags:
access: | private
[ Top ] ### method getXml [line 62]
`void getXml( [ $phpClass = null])`
#### Tags:
access: | public
#### Parameters:
| $phpClass |
[ Top ] ### method parseClass [line 95]
`void parseClass( $object, $dom, [ $rt = false])`
#### Tags:
access: | private
#### Parameters:
| $object |
| $dom |
| $rt |
[ Top ] ### method parseObjectValue [line 183]
`DOMElement parseObjectValue( Object $obj, DOMElement $element)`
Parse value of the object #### Tags:
access: | private
#### Parameters:
Object | $obj |
DOMElement | $element |
[ Top ] Documentation generated on Tue, 01 Feb 2011 22:29:29 +0100 by phpDocumentor 1.4.3