PHP Doku:: Returns the special root object in an otherwise empty data graph. Used when creating a data graph from scratch. - function.sdo-das-relational-createrootdataobject.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzXML-ManipulationSDO Relational Data Access ServiceSDO-DAS-Relational FunktionenSDO_DAS_Relational::createRootDataObject

Ein Service von Reinhard Neidl - Webprogrammierung.

SDO-DAS-Relational Funktionen

<<SDO_DAS_Relational::__construct

SDO_DAS_Relational::executePreparedQuery>>

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.

Beschreibung

SDODataObject SDO_DAS_Relational::createRootDataObject ( void )
Warnung

Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere, was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko.

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.

Parameter-Liste

None.

Rückgabewerte

The root object.

Fehler/Exceptions

None.

Beispiele

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


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)