SDO 函数
PHP 手册

SDO_Sequence::move

(^)

SDO_Sequence::move Move an item to another sequence position

说明

void SDO_Sequence::move ( int $toIndex, int $fromIndex )
Warning

此函数是实验性的。此函数的表象,包括名称及其相关文档都可能在未来的 PHP 发布版本中未通知就被修改。使用本函数风险自担 。

Modify the position of the item in the sequence, without altering the value of the property in the SDO_DataObject.

参数

toIndex

The destination sequence index. If this index is less than zero or greater than the size of the sequence then the value is appended.

fromIndex

The source sequence index.

返回值

None.

错误/异常

SDO_IndexOutOfBoundsException

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


SDO 函数
PHP 手册