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.