Php/docs/sdo-das-xml.createdataobject

来自菜鸟教程
跳转至:导航、​搜索

SDO_DAS_XML::createDataObject

(^)

SDO_DAS_XML::createDataObject Creates SDO_DataObject for a given namespace URI and type name


说明

SDO_DAS_XML::createDataObject ( string $namespace_uri , string $type_name ) : SDO_DataObject

Creates SDO_DataObject for a given namespace URI and type name. The type should be defined in the underlying model otherwise SDO_TypeNotFoundException will be thrown.


参数

namespace_uri
Namespace URI of the type name.
type_name
Type Name.


返回值

Returns SDO_DataObject on success.


错误/异常

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