コード例 #1
0
ファイル: actions.class.php プロジェクト: taryono/school
 public function executeYudisiumLetter()
 {
     $this->comprehensive_exam = ComprehensiveExamPeer::retrieveByPK($this->getRequestParameter('id'));
     $this->stu = $this->comprehensive_exam->getStudent();
     $this->setViewClass('sfDomPDF');
 }
コード例 #2
0
 public function getComprehensiveExam($con = null)
 {
     include_once 'lib/model/om/BaseComprehensiveExamPeer.php';
     if ($this->aComprehensiveExam === null && $this->comprehensive_exam_id !== null) {
         $this->aComprehensiveExam = ComprehensiveExamPeer::retrieveByPK($this->comprehensive_exam_id, $con);
     }
     return $this->aComprehensiveExam;
 }