SDO_DataObject::createDataObject

(no version information, might be only in CVS)

SDO_DataObject::createDataObject --  Create a child SDO_DataObject.

说明

SDO_DataObject SDO_DataObject::createDataObject ( mixed identifier )

警告

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

Create a child SDO_DataObject of the default type for the property identified. The data object is automatically inserted into the tree and a reference to it is returned.

参数

identifier

Identifies the property for the data object type to be created. Can be either a property name (string), or property index (int).

返回值

Returns the newly created SDO_DataObject.

异常

SDO_PropertyNotFoundException

Thrown if the identifier does not correspond to a property of the data object.


add a note add a note User Contributed Notes
There are no user contributed notes for this page.