# get /relevamiento/index [?php require_once(dirname(__FILE__).'/../lib/BaseRelevamientoGeneratorConfiguration.class.php'); require_once(dirname(__FILE__).'/../lib/BaseRelevamientoGeneratorHelper.class.php'); /** * relevamiento actions. * * @package ##PROJECT_NAME## * @subpackage relevamiento * @author ##AUTHOR_NAME## */ abstract class autoRelevamientoActions extends sfActions { public function preExecute() { $this->configuration = new relevamientoGeneratorConfiguration(); if (!$this->getUser()->hasCredential($this->configuration->getCredentials($this->getActionName()))) { $this->forward(sfConfig::get('sf_secure_module'), sfConfig::get('sf_secure_action')); } $this->dispatcher->notify(new sfEvent($this, 'admin.pre_execute', array('configuration' => $this->configuration))); $this->helper = new relevamientoGeneratorHelper(); } public function executeIndex(sfWebRequest $request) { // filtering if ($request->getParameter('filters')) { $this->setFilters($request->getParameter('filters')); } // sorting if ($request->getParameter('sort')) { $this->setSort(array($request->getParameter('sort'), $request->getParameter('sort_type'))); } // pager if ($request->getParameter('page')) { $this->setPage($request->getParameter('page')); } $this->pager = $this->getPager(); $this->sort = $this->getSort(); } public function executeFilter(sfWebRequest $request) { $this->setPage(1); if ($request->hasParameter('_reset')) { $this->setFilters($this->configuration->getFilterDefaults()); $this->redirect('@relevamiento'); } $this->filters = $this->configuration->getFilterForm($this->getFilters());
Fatal error: Call to a member function hasAdminPermissions() on null in /var/www/html/sae/lib/form/RelevamientoForm.class.php on line 65