private function renderActionButton()
    {
        $actionButtonOptions = $this->actionButtonOptions;
        Html::addCssClass($actionButtonOptions, $this->linkClasses);

        $this->beginButtonGroup();

        echo Html::button($this->actionsButtonLabel . $this->caretHtml, $actionButtonOptions);

        echo Html::beginTag('ul', ['class' => 'dropdown-menu dropdown-menu-right']);
        foreach ($this->visibleActions as $action) {
            $label = ArrayHelper::getValue($action, $this->actionLabelProperty, '');
            $url = ArrayHelper::getValue($action, $this->actionUrlProperty, null);
            $options = ArrayHelper::getValue($action, $this->actionOptionsProperty, []);

            echo Html::tag('li', Html::a($label, $url, $options));
        }
        echo Html::endTag('ul');

        $this->endButtonGroup();
    }
private function renderActionButton()
    {
        $actionButtonOptions = $this->actionButtonOptions;
        Html::addCssClass($actionButtonOptions, $this->linkClasses);

        $this->beginButtonGroup();

        echo Html::button($this->actionsButtonLabel . $this->caretHtml, $actionButtonOptions);

        echo Html::beginTag('ul', ['class' => 'dropdown-menu dropdown-menu-right']);
        foreach ($this->visibleActions as $action) {
            $label = ArrayHelper::getValue($action, $this->actionLabelProperty, '');
            $url = ArrayHelper::getValue($action, $this->actionUrlProperty, null);
            $options = ArrayHelper::getValue($action, $this->actionOptionsProperty, []);

            echo Html::tag('li', Html::a($label, $url, $options));
        }
        echo Html::endTag('ul');

        $this->endButtonGroup();
    }
private function renderActionButton ( ) { $ actionButtonOptions = $ this -> actionButtonOptions ; Html :: addCssClass ( $ actionButtonOptions , $ this -> linkClasses ) ; $ this -> beginButtonGroup ( ) ; echo Html :: button ( $ this -> actionsButtonLabel . $ this -> caretHtml , $ actionButtonOptions ) ; echo Html :: beginTag ( 'ul' , [ 'class' => 'dropdown-menu dropdown-menu-right' ] ) ; foreach ( $ this -> visibleActions as $ action ) { $ label = ArrayHelper :: getValue ( $ action , $ this -> actionLabelProperty , '' ) ; $ url = ArrayHelper :: getValue ( $ action , $ this -> actionUrlProperty , null ) ; $ options = ArrayHelper :: getValue ( $ action , $ this -> actionOptionsProperty , [ ] ) ; echo Html :: tag ( 'li' , Html :: a ( $ label , $ url , $ options ) ) ; } echo Html :: endTag ( 'ul' ) ; $ this -> endButtonGroup ( ) ; }
Render the action button dropdown
Render the action button dropdown