Home > PHP > Function > SDO > SDO_List::insert()

SDO_List::insert()

SDO_List::insert - Insert into a list

Syntax

SDO_List::insert (mixed $value, int $index)

Arguments

  • value - The new value to be inserted. This can be either a primitive or an SDO_DataObject.
  • index - The position at which to insert the new element. If this argument is not specified then the new value will be appended.

Description

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

Version

PHP ^

Return value

None.