SDO_Sequence::move
(No version information available, might be only in CVS)
SDO_Sequence::move — Move an item to another sequence position
Description
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.
Parameters
- 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 Values
None.
Errors/Exceptions
- SDO_IndexOutOfBoundsException
-
Thrown if the fromIndex sequence index is less than zero or greater than the size of the sequence.