コード例 #1
0
ファイル: student.php プロジェクト: SwiftSchool/School
 /**
  * @protected
  */
 public function render()
 {
     if ($this->scholar) {
         if ($this->actionView) {
             $this->actionView->set("scholar", $this->scholar);
         }
         if ($this->layoutView) {
             $this->layoutView->set("scholar", $this->scholar);
         }
     }
     parent::render();
 }
コード例 #2
0
ファイル: teacher.php プロジェクト: SwiftSchool/School
 /**
  * @protected
  */
 public function render()
 {
     if ($this->educator) {
         if ($this->actionView) {
             $this->actionView->set("educator", $this->educator);
         }
         if ($this->layoutView) {
             $this->layoutView->set("educator", $this->educator);
         }
     }
     parent::render();
 }