Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : SDO Functions : SDO_Sequence::insert

SDO_Sequence::insert

Insert into a sequence ()
void SDO_Sequence::insert ( mixed value [, int sequenceIndex [, mixed propertyIdentifier]] )

Warning:

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

Insert a new element at a specified position in the sequence. All subsequent sequence items are moved up.

Parameters

value

The new value to be inserted. This can be either a primitive or an SDO_DataObject.

sequenceIndex

The position at which to insert the new element. Default is NULL, which results in the new value being appended to the sequence.

propertyIdentifier

Either a property index, a property name, or an SDO_Model_Property, used to identify a property in the sequence's corresponding SDO_DataObject. A value of NULL signifies unstructured text.

Return Values

None.

Errors/Exceptions

SDO_IndexOutOfBoundsException

Thrown if the sequence index is less than zero or greater than the size of the sequence.

SDO_InvalidConversionException

Thrown if the type of the new value cannot be juggled to match the type for the specified data object property.

Change Language


Follow Navioo On Twitter
SDO_DAS_ChangeSummary::beginLogging
SDO_DAS_ChangeSummary::endLogging
SDO_DAS_ChangeSummary::getChangeType
SDO_DAS_ChangeSummary::getChangedDataObjects
SDO_DAS_ChangeSummary::getOldContainer
SDO_DAS_ChangeSummary::getOldValues
SDO_DAS_ChangeSummary::isLogging
SDO_DAS_DataFactory::addPropertyToType
SDO_DAS_DataFactory::addType
SDO_DAS_DataFactory::getDataFactory
SDO_DAS_DataObject::getChangeSummary
SDO_DAS_Setting::getListIndex
SDO_DAS_Setting::getPropertyIndex
SDO_DAS_Setting::getPropertyName
SDO_DAS_Setting::getValue
SDO_DAS_Setting::isSet
SDO_DataFactory::create
SDO_DataObject::clear
SDO_DataObject::createDataObject
SDO_DataObject::getContainer
SDO_DataObject::getSequence
SDO_DataObject::getTypeName
SDO_DataObject::getTypeNamespaceURI
SDO_Exception::getCause
SDO_List::insert
SDO_Model_Property::getContainingType
SDO_Model_Property::getDefault
SDO_Model_Property::getName
SDO_Model_Property::getType
SDO_Model_Property::isContainment
SDO_Model_Property::isMany
SDO_Model_ReflectionDataObject::__construct
SDO_Model_ReflectionDataObject::export
SDO_Model_ReflectionDataObject::getContainmentProperty
SDO_Model_ReflectionDataObject::getInstanceProperties
SDO_Model_ReflectionDataObject::getType
SDO_Model_Type::getBaseType
SDO_Model_Type::getName
SDO_Model_Type::getNamespaceURI
SDO_Model_Type::getProperties
SDO_Model_Type::getProperty
SDO_Model_Type::isAbstractType
SDO_Model_Type::isDataType
SDO_Model_Type::isInstance
SDO_Model_Type::isOpenType
SDO_Model_Type::isSequencedType
SDO_Sequence::getProperty
SDO_Sequence::insert
SDO_Sequence::move
eXTReMe Tracker