예제 #1
0
 /**
  * @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
 /**
  * @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();
 }