SDO_DAS_Relational::createRootDataObject

(^)

SDO_DAS_Relational::createRootDataObject Returns the special root object in an otherwise empty data graph. Used when creating a data graph from scratch

说明

SDO_DAS_Relational::createRootDataObject ( void ) : SDODataObject
Warning

此函数是实验性的。此函数的表象,包括名称及其相关文档都可能在未来的 PHP 发布版本中未通知就被修改。使用本函数风险自担 。

Returns the special root object at the top of an otherwise empty data graph. This call is used when the application wants to create a data graph from scratch, without having called executeQuery() to create a data graph.

The special root object has one multi-valued containment property, with a name of the application root type that was passed when the Relational DAS was constructed. The property can take values of only that type. The only thing that the application can usefully do with the root type is to call createDataObject() on it, passing the name of the application root type, in order to create a data object of their own application type.

参数

None.

返回值

The root object.

错误/异常

None.

范例

Please see the Examples section in the general information about the Relational DAS for many examples of calling this method.

相关文章
php semaphore 函数 returns information from the message queue data structurephp oci8 函数 returns the next row from a query as an objectphp sdo 函数 get a data object s change summaryphp sdo das relational 函数 applies the changes made to a data graph back to the databasephp sdo das relational 函数 creates an instance of a relational data access servicephp sdo das relational 函数 returns the special root object in an otherwise empty data graph. used when creating a data graph from scratchphp sdo das relational 函数 executes an sql query passed as a prepared statement with a list of values to substitute for placeholders and return the results as a normalised data graphphp sdo das relational 函数 executes a given sql query against a relational database and returns the results as a normalised data graphphp sdo das xml 函数 returns the root sdo dataobjectphp sdo das xml 函数 returns root element s namephp sdo das xml 函数 returns root element s uri stringphp sdo das xml 函数 to load a second or subsequent schema file to a sdo das xml objectphp sdo das xml 函数 to create sdo das xml object for a given schema filephp sdo das xml 函数 creates an xml document object from scratch without the need to load a document from a file or stringphp sdo das xml 函数 returns sdo das xml document object for a given path to xml instance documentphp sdo das xml 函数 saves the sdo das xml document object to a filephp sdo das xml 函数 saves the sdo das xml document object to a stringphp sdo 函数 get a data object s containerphp sdo 函数 get the sequence for a data objectphp sdo 函数 get the property which defines the containment relationship to the data object
关注编程学问公众号