/** * get an array of models with item on the current page * @return array with active records */ public function getItems() { if (empty($this->_models)) { $this->_models = $this->store->getModels(); } return $this->_models; }