SDO_DataObject::getType

(no version information, might be only in CVS)

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

Description

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.

Parameters

None.

Return Values

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

The above example will output:

Namespace: CompanyNS, Type Name: CompanyType