SDO_DataObject::getType

(no version information, might be only in CVS)

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

Descrizione

array SDO_DataObject::getType ( void )

Avvertimento

Questa funzione è SPERIMENTALE. Ovvero, il comportamento di questa funzione, il nome di questa funzione, in definitiva tutto ciò che è documentato qui può cambiare nei futuri rilasci del PHP senza preavviso. Siete avvisati, l'uso di questa funzione è a vostro rischio.

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.

Elenco dei parametri

None.

Valori restituiti

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

Esempi

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

Il precedente esempio visualizzerà:

Namespace: CompanyNS, Type Name: CompanyType