SDO_DataObject::getType

(no version information, might be only in CVS)

SDO_DataObject::getType --  Get the type of a data object.

Beschreibung

array SDO_DataObject::getType ( void )

Warnung

Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko.

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.

Parameter Liste

None.

Rückgabewerte

An array containing the namespace URI string and the type name string for the data object.

Beispiele

Beispiel 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]";
?>

Das oben gezeigte Beispiel erzeugt folgende Ausgabe:

Namespace: CompanyNS, Type Name: CompanyType