endPage() 공개 메소드

Marks the ending of an HTML page.
public endPage ( boolean $ajaxMode = false )
$ajaxMode boolean whether the view is rendering in AJAX mode. If true, the JS scripts registered at [[POS_READY]] and [[POS_LOAD]] positions will be rendered at the end of the view like normal scripts.
예제 #1
0
파일: Adm.php 프로젝트: richardcj/yii2-adm
 /**
  * Marks the ending of a page.
  * @param \yii\web\View $view the view to be registered with
  */
 public function endPage($view)
 {
     $view->endPage();
     $this->trigger(self::EVENT_END_PAGE);
 }
예제 #2
0
 public function endPage($ajaxMode = false)
 {
     parent::endPage($ajaxMode);
     $this->afterPage();
 }