package |
Array |
copyright |
2003-2012 PIXNET Digital Media Corporation |
license |
BSD License |
Methods
after 指定要從哪一筆開始(不包含 $id 這筆),這個 $id 可以是 getVolumePos 回傳的值
after(mixed $id) : \Pix_Array_Volumable
Parameters
$id
mixed
會跟 Pix_Array_Volumable->getVolumePos() 回傳的值同格式。
Returns
getVolumeID 取得這個 Volume 的代表 ID ,用在 cache 結果用的。
getVolumeID() : string | null
Returns
string
null
若為 null 的話,就不會使用 cache
getVolumePos 回傳 $row 這個 row 在 Pix_Array_Volumable 的位置。
getVolumePos(mixed $row) : mixed
Parameters
$row
mixed
這個類型要跟 rewind() 回傳的 Iterator 的 value 一樣類型
Returns
mixed
這個類型要跟 ->after($id) 的 $id 一樣,到時候會噴給他用
rewind 回傳符合 ->after($after)->limit($limit) 條件的 Iterator
rewind() : \Iteratorable
Returns
\Iteratorable
可以直接丟一個 size 是 $limit 的 array 進來。