yii\bootstrap\Nav::run PHP Method

run() public method

Renders the widget.
public run ( )
    public function run()
    {
        BootstrapAsset::register($this->getView());
        return $this->renderItems();
    }

Usage Example

Example #1
0
 /**
  * @inheritdoc
  */
 public function run()
 {
     if ($this->direction == 'left') {
         $this->options['class'] .= ' drop-left';
     }
     $itemTree = $this->generateItemsTree($this->items);
     $this->items = $this->createItems($itemTree);
     return parent::run();
 }
All Usage Examples Of yii\bootstrap\Nav::run