SDO_Sequence::move
(No version information available, might be only in CVS)
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.
Return值
None.
錯誤/例外
- SDO_IndexOutOfBoundsException
-
Thrown if the fromIndex sequence index is less than zero or greater than the size of the sequence.