Приглашаем посетить
Право (law.niv.ru)

SDO_DataObject::getType


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.

Список параметров

None.

Возвращаемые значения

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