cvs: pecl /sdo php_sdo.h

From: Date: Tue, 17 Jan 2006 11:43:16 +0000
Subject: cvs: pecl /sdo php_sdo.h
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-4974@lists.php.net to get a copy of this message
cem Tue Jan 17 11:43:16 2006 UTC Modified files: /pecl/sdo php_sdo.h Log: Version 0.7.1 http://cvs.php.net/viewcvs.cgi/pecl/sdo/php_sdo.h?r1=1.7&r2=1.8&diff_format=u Index: pecl/sdo/php_sdo.h diff -u pecl/sdo/php_sdo.h:1.7 pecl/sdo/php_sdo.h:1.8 --- pecl/sdo/php_sdo.h:1.7 Tue Jan 17 09:41:27 2006 +++ pecl/sdo/php_sdo.h Tue Jan 17 11:43:16 2006 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_sdo.h,v 1.7 2006/01/17 09:41:27 cem Exp $ */ +/* $Id: php_sdo.h,v 1.8 2006/01/17 11:43:16 cem Exp $ */ #ifndef PHP_SDO_H #define PHP_SDO_H @@ -50,18 +50,8 @@ PHP_METHOD(SDO_PropertyAccess, __get); PHP_METHOD(SDO_PropertyAccess, __set); -/* {{{ proto array SDO_DataObject::getType() -Return array containing the type information for the SDO_DataObject. -The first element contains the namespace URI string and the second -contains the type name string. -For example, if the SDO_DataObject were of type 'CompanyType' from -the namespace 'CompanyNS', then getType() would return the equivalent to -array('CompanyNS', 'CompanyType'); -Returns an array containing the namespace URI and type name for the data object. - */ -PHP_METHOD(SDO_DataObject, getType); -/* }}} */ +PHP_METHOD(SDO_DataObject, getType); /* deprecated */ /* {{{ proto SDO_Sequence SDO_DataObject::getSequence() Return the SDO_Sequence for this SDO_DataObject. Accessing the SDO_DataObject @@ -101,23 +91,16 @@ PHP_METHOD(SDO_DataObject, getContainer); /* }}} */ -/* {{{ proto string SDO_DataObject::getContainmentPropertyName() -Get the property name used to refer to this data object by its containing data object. - -Returns the name of the container's property which references this SDO_DataObject -*/ -PHP_METHOD(SDO_DataObject, getContainmentPropertyName); -/* }}} */ - +PHP_METHOD(SDO_DataObject, getContainmentPropertyName); /* deprecated */ -/* {{{ proto integer SDO_Sequence::getPropertyIndex(integer sequenceIndex) -Return the property index for the specified sequence index. +/* {{{ proto SDO_Model_Property SDO_Sequence::getProperty(integer sequence_index) +Return the property for the specified sequence index. The sequence index -The corresponding property index. A value of -1 means the element does not belong to a property and must therefore be unstructured text. +The corresponding property. A value of NULL means the element does not belong to a property and must therefore be unstructured text. -Should throw SDO_IndexOutOfBoundsException, but doesn't at the moment. +Throws SDO_IndexOutOfBoundsException. */ PHP_METHOD(SDO_Sequence, getProperty); /* }}} */ @@ -133,7 +116,7 @@ The destination sequence index The source sequence index -Should throw SDO_IndexOutOfBoundsException, but doesn't at the moment. +Throws SDO_IndexOutOfBoundsException. */ PHP_METHOD(SDO_Sequence, move); /* }}} */ @@ -203,7 +186,7 @@ PHP_METHOD(SDO_DAS_DataFactory, getDataFactory); /* }}} */ -/* {{{ proto void SDO_DAS_DataFactory::addType(string namespaceURI, string typeName) +/* {{{ proto void SDO_DAS_DataFactory::addType(string namespaceURI, string typeName [, array options]) Add a new type to the SDO_DAS_DataFactory, defined by its namespace and type name. @@ -211,6 +194,11 @@ The name of the type + Optional associative array of optional arguments for the new type. +Valid keys are: +"open" for an open type (default false) +"sequenced" for a sequenced type (default false) + For example, the following adds a new SDO_DataObject type of 'CompanyType' where that type belongs to the namespace 'CompanyNS' $df->addType('CompanyNS', 'CompanyType');

« previous php.pecl.cvs (#4974) next »