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.

설명

SDODataObject SDO_DAS_Relational::createRootDataObject ( void )
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.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top