SDO_DAS_DataFactory::addType

(no version information, might be only in CVS)

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

Description

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

Varning

Den h�r funktionen �r EXPERIMENTELL. Dess beteende, namnet p� den, och allt annat dokumenterat om den h�r funktionen kan �ndras i framtida utg�var av PHP. Anv�nd den p� egen risk.

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.

Parameters

namespaceURI

The namespace of the type.

typeName

The name of the type.

Return Values

No values returned.

Exempel

Exempel 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');
?>