clear() public méthode

Clears up the registered meta tags, link tags, css/js scripts and files.
public clear ( )
Exemple #1
0
 /**
  * (non-PHPdoc)
  * @see \yii\web\View::clear()
  */
 public function clear()
 {
     $this->pageStyle = '';
     $this->pageStyles = [];
     $this->pageStylesFinal = [];
     $this->pagePlugin = '';
     $this->pagePlugins = [];
     $this->pageReadyJS = '';
     $this->pageReadyPriorityJSs = [];
     $this->pageReadyJSs = [];
     $this->pageReadyFinalJSs = [];
     $this->pageLoadJS = '';
     $this->pageLoadPriorityJSs = [];
     $this->pageLoadJSs = [];
     $this->pageLoadFinalJSs = [];
     $this->baseTag = [];
     parent::clear();
 }