yii\web\View::endBody PHP Method

endBody() public method

Marks the ending of an HTML body section.
public endBody ( )
    public function endBody()
    {
        $this->trigger(self::EVENT_END_BODY);
        echo self::PH_BODY_END;
        foreach (array_keys($this->assetBundles) as $bundle) {
            $this->registerAssetFiles($bundle);
        }
    }

Usage Example

Beispiel #1
0
 /**
  * Marks the ending of an HTML body section.
  * @param \yii\web\View $view the view to be registered with
  */
 public function endBody($view)
 {
     $view->endBody();
     $this->trigger(self::EVENT_END_BODY);
 }