例子 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 |