/** * 是否還有更多成員。 * @return boolean */ function hasMore() { return $this->current_index < $this->collection->length(); }