SDO_DAS_DataFactory::addType
(no version information, might be only in CVS)
SDO_DAS_DataFactory::addType --
Add a new type to a model
説明
void
SDO_DAS_DataFactory::addType ( string namespaceURI, string typeName )
警告 |
この関数は、
実験的 なものです。この関数の動作・
名前・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP
のリリースにおいて変更される可能性があります。
この関数は自己責任で使用してください。 |
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.
パラメータ
- namespaceURI
The namespace of the type.
- typeName
The name of the type.
例
例 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'); ?>
|
|