SDO_DAS_DataFactory::addType

(no version information, might be only in CVS)

SDO_DAS_DataFactory::addType --  Add a new type to a model.

Descrizione

void SDO_DAS_DataFactory::addType ( string namespaceURI, string typeName )

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.

Add a new type to the SDO_DAS_DataFactory, defined by its namespace and type name. The type becomes part of the model of data objects that the data factory can create.

Elenco dei parametri

namespaceURI

The namespace of the type.

typeName

The name of the type.

Valori restituiti

No values returned.

Esempi

Esempio 1. A SDO_DAS_DataFactory::addType() example

The following adds a new data object type of 'CompanyType' where that type belongs to the namespace 'CompanyNS'.

<?php
  $df
->addType('CompanyNS', 'CompanyType');
?>