default
[ class tree: default ] [ index: default ] [ all elements ]

Class: Bind

Source Location: /mikebevz/xsd2php/Bind.php

Class Overview

Common
   |
   --Bind

Bind XML to PHP binding


Author(s):

Version:

  • 0.0.5

Methods


Inherited Variables

Inherited Methods


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