public function toArray() { return array('page' => $this->page(), 'pages' => $this->pages(), 'items' => $this->countItems()); }