略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: SDO_DataObject::createDataObject

2024-04-29

SDO_DataObject::createDataObject

(^)

SDO_DataObject::createDataObject Create a child SDO_DataObject

说明

SDO_DataObject::createDataObject ( mixed $identifier ) : SDO_DataObject
Warning

此函数是实验性的。此函数的表象,包括名称及其相关文档都可能在未来的 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.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/sdo-dataobject.createdataobject.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3