SDO_DAS_XML::create

(^)

SDO_DAS_XML::create To create SDO_DAS_XML object for a given schema file

说明

SDO_DAS_XML::create ([ mixed $xsd_file [, string $key ]] ) : SDO_DAS_XML

This is the only static method of SDO_DAS_XML class. Used to instantiate SDO_DAS_XML object.

参数

xsd_file

Path to XSD Schema file. This is optional. If omitted a DAS will be created that only has the SDO base types defined. Schema files can then be loaded with the addTypes() method. Can be string or array of values.

key

返回值

Returns SDO_DAS_XML object on success otherwise throws an exception as described below.

错误/异常

SDO_TypeNotFoundException

Thrown if a type is not defined in the underlying model.

SDO_DAS_XML_ParserException

Thrown for any problems while parsing the given XSD File.

SDO_DAS_XML_FileException

Thrown if the specified file cannot be found.

相关文章
php simplexml 函数 interprets an xml file into an objectphp sdo das xml sdo das xml 函数php sdo das relational 函数 returns the special root object in an otherwise empty data graph. used when creating a data graph from scratchphp sdo das relational 函数 executes an sql query passed as a prepared statement with a list of values to substitute for placeholders and return the results as a normalised data graphphp sdo das relational 函数 executes a given sql query against a relational database and returns the results as a normalised data graphphp sdo das xml 函数 returns the root sdo dataobjectphp sdo das xml 函数 returns root element s namephp sdo das xml 函数 returns root element s uri stringphp sdo das xml 函数 sets the given string as encodingphp sdo das xml 函数 sets the xml declarationphp sdo das xml 函数 sets the given string as xml versionphp sdo das xml 函数 to load a second or subsequent schema file to a sdo das xml objectphp sdo das xml 函数 to create sdo das xml object for a given schema filephp sdo das xml 函数 creates sdo dataobject for a given namespace uri and type namephp sdo das xml 函数 creates an xml document object from scratch without the need to load a document from a file or stringphp sdo das xml 函数 returns sdo das xml document object for a given path to xml instance documentphp sdo das xml 函数 returns sdo das xml document for a given xml instance stringphp sdo das xml 函数 saves the sdo das xml document object to a filephp sdo das xml 函数 saves the sdo das xml document object to a stringphp sdo 函数 get the sequence for a data object
关注编程学问公众号