Esempio n. 1
0
 public function executeComponent_analytical_table()
 {
     //De aca recupero el nombre del establecimiento
     $this->career_student = $this->getVar('career_student');
     $this->student = $this->career_student->getStudent();
     $this->object = AnalyticalBehaviourFactory::getInstance($this->student);
 }
Esempio n. 2
0
 public function executePrintAnalytical(sfWebRequest $request)
 {
     $this->career_student = CareerStudentPeer::retrieveByPK($request->getParameter("id"));
     $this->analytical = AnalyticalBehaviourFactory::getInstance($this->career_student->getStudent());
     $this->analytical->process();
     //falta el imprimir el analitico sin CBFE
     $this->analytic = new Analytic();
     $this->analytic->setCareerStudent($this->career_student);
     $this->analytic->setDescription($this->career_student->getStudent()->getPerson());
     $this->analytic->save();
     $this->setLayout('cleanLayout');
 }