protected function loader($offset) { $view = $this->loader->getView(); $view->Parameters['xpath'] = $offset; return parent::loader($offset); }