public function executeAjaxfasesdeproyecto() { $this->proyecto = ProyectoPeer::retrieveByPK($this->getRequestParameter('id_proyecto')); $this->fases = $this->proyecto ? $this->proyecto->getFasesByNombre() : array(); $this->id_fase = $this->getRequestParameter('id_fase'); $this->options = array(); if ($this->getRequestParameter('include_blank')) { $this->options['include_blank'] = true; } elseif ($this->getRequestParameter('include_custom')) { $this->options['include_custom'] = $this->getRequestParameter('include_custom'); } }