SDO Функции
PHP Manual

SDO_DataObject::createDataObject

(^)

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), a property index (int), or an SDO_Model_Property.

Връщани стойности

Returns the newly created SDO_DataObject.

Грешки/Изключения

SDO_PropertyNotFoundException

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


SDO Функции
PHP Manual