yii\bootstrap\Nav::run PHP 메소드

run() 공개 메소드

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

Usage 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