public function executeList() { $this->tab = sfConfig::get('app_tab_projects_browse'); $this->logMessage('get pager....'); $this->projects = ProjectPeer::retrievePager(new Criteria(), $this->getRequestParameter('page', 1), $this->getRequestParameter('max', sfConfig::get('app_pager_project_max'))); $this->campuses = CampusPeer::retrieveAlphabetical(); $this->departments = DepartmentPeer::retrieveAlphabetical(); myToolkit::prependPageTitle('Community Projects'); }
/** * Executes signUpForm action * */ public function executeSignUpForm() { $this->departments = DepartmentPeer::retrieveAlphabetical(); }
public function executeListFilter() { $this->campuses = CampusPeer::retrieveAlphabetical(); $this->departments = DepartmentPeer::retrieveAlphabetical(); }