PHP 手册
上一页 |  | 下一页

# SDO_DAS_XML::create

(no version information, might be only in CVS)

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

## 说明

SDO_DAS_XML SDO_DAS_XML::create ( [string xsd_file] )

警告
本函数是实验性的。本函数的行为，包括函数名称以及其它任何关于本函数的文档可能会在没有通知的情况下随 PHP 以后的发布而改变。使用本函数风险自担。

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.

## 返回值

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.

上一页 | 起始页 | 下一页
SDO_DAS_XML::addTypes | 上一级 | SDO_DAS_XML::createDataObject