default

# Class: Bind Source Location: /mikebevz/xsd2php/Bind.php
### Class Overview
    Common
       |
       --Bind
Bind XML to PHP binding #### Author(s): Mike Bevz <myb@mikebevz.com> #### Version: 0.0.5 | ### Methods bindXml bindXmlRec hasChild unmarshal
### 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 26] Bind XML to PHP binding #### Tags:
author: | Mike Bevz <myb@mikebevz.com>
version: | 0.0.5
[ Top ] ### Class Methods ### method bindXml [line 80]
`object PHP bindXml( string $xml, object $model)`
Bind XML file to model #### Tags:
return: | model
access: | public
#### Parameters:
string | $xml | XML source
object | $model | PHP Model to bind to
[ Top ] ### method bindXmlRec [line 160]
`void bindXmlRec( $node, $dom, $modelName)`
#### Tags:
access: | public
#### Parameters:
| $node |
| $dom |
| $modelName |
[ Top ] ### method hasChild [line 149]
`void hasChild( $node)`
#### Tags:
access: | private
#### Parameters:
| $node |
[ Top ] ### method unmarshal [line 38]
`object PHP unmarshal( string $xml)`
Unmarshal XML string to corresponding PHP binding #### Tags:
return: | binding object
access: | public
#### Parameters:
string | $xml | XML string to unmarshal
[ Top ] Documentation generated on Tue, 01 Feb 2011 22:29:28 +0100 by phpDocumentor 1.4.3