SDO_DataObject::getType
(no version information, might be only in CVS)
SDO_DataObject::getType --
Get the type of a data object
説明
array
SDO_DataObject::getType ( void )
警告 |
この関数は、
実験的 なものです。この関数の動作・
名前・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP
のリリースにおいて変更される可能性があります。
この関数は自己責任で使用してください。 |
Return an array containing the type information for an SDO_DataObject.
The first element contains the namespace URI string and the second
contains the type name string.
返り値
An array containing the namespace URI string and the type name
string for the data object.
例
例 1. A
SDO_DataObject::getType()
example
For example, if the SDO_DataObject were of type 'CompanyType' from
the namespace 'CompanyNS', then getType() would return the equivalent to
array('CompanyNS', 'CompanyType'):
<?php $do_type = $company_do->getType(); echo "Namespace: $do_type[0], Type Name: $do_type[1]"; ?>
|
上の例の出力は以下となります。 Namespace: CompanyNS, Type Name: CompanyType |
|