Home > PHP > Function > SDO > SDO_DataObject::createDataObject()

SDO_DataObject::createDataObject()

SDO_DataObject::createDataObject - Create a child SDO_DataObject

Syntax

SDO_DataObject::createDataObject (mixed $identifier)

Arguments

  • 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.

Description

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.

Version

PHP ^

Return value

Returns the newly created SDO_DataObject.