/** * Retrieves all pages from the current parallax. * * @return array */ protected function _getPageCollection() { if (!$this->_pageCollection) { $model = new Parallaxes(); $this->_pageCollection = $model->getPageCollection($this->property('parallax', $this->page->id)); } return $this->_pageCollection; }