Пример #1
0
 /**
  * Renders the widget.
  */
 public function run()
 {
     $tag = ArrayHelper::remove($this->containerOptions, 'tag', 'div');
     echo Html::endTag($tag);
     $tag = ArrayHelper::remove($this->options, 'tag', 'nav');
     echo Html::endTag($tag, $this->options);
     MaterializeAsset::register($this->getView());
 }
Пример #2
0
 /**
  * Renders the widget.
  */
 public function run()
 {
     MaterializeAsset::register($this->getView());
     return $this->renderItems();
 }