public function executeIndex(sfWebRequest $request) { parent::executeIndex($request); if ($this->getRequestParameter('feed', false)) { // Don't have to call getFeed again, the parent implementation did that return sfView::NONE; } $this->calendar = $this->buildCalendar($request); return $this->pageTemplate; }
protected function buildQuery($request) { $q = parent::buildQuery($request); Doctrine::getTable('aEvent')->addUpcoming($q); return $q; }