private function renderActions()
    {
        $this->beginButtonGroup();
        foreach ($this->visibleActions as $action) {
            $label = ArrayHelper::getValue($action, $this->actionLabelProperty, '');
            $url = ArrayHelper::getValue($action, $this->actionUrlProperty, null);
            $options = ArrayHelper::getValue($action, $this->actionOptionsProperty, []);

            // Use $this->buttonClasses as base classes, then override with any classes specified in options
            $actionClasses = ArrayHelper::getValue($options, 'class', []);
            $options['class'] = $this->linkClasses;
            Html::addCssClass($options, $actionClasses);

            echo Html::a($label, $url, $options);
        }
        $this->endButtonGroup();
    }
private function renderActions()
    {
        $this->beginButtonGroup();
        foreach ($this->visibleActions as $action) {
            $label = ArrayHelper::getValue($action, $this->actionLabelProperty, '');
            $url = ArrayHelper::getValue($action, $this->actionUrlProperty, null);
            $options = ArrayHelper::getValue($action, $this->actionOptionsProperty, []);

            // Use $this->buttonClasses as base classes, then override with any classes specified in options
            $actionClasses = ArrayHelper::getValue($options, 'class', []);
            $options['class'] = $this->linkClasses;
            Html::addCssClass($options, $actionClasses);

            echo Html::a($label, $url, $options);
        }
        $this->endButtonGroup();
    }
private function renderActions ( ) { $ this -> beginButtonGroup ( ) ; foreach ( $ this -> visibleActions as $ action ) { $ label = ArrayHelper :: getValue ( $ action , $ this -> actionLabelProperty , '' ) ; $ url = ArrayHelper :: getValue ( $ action , $ this -> actionUrlProperty , null ) ; $ options = ArrayHelper :: getValue ( $ action , $ this -> actionOptionsProperty , [ ] ) ; // Use $this->buttonClasses as base classes, then override with any classes specified in options $ actionClasses = ArrayHelper :: getValue ( $ options , 'class' , [ ] ) ; $ options [ 'class' ] = $ this -> linkClasses ; Html :: addCssClass ( $ options , $ actionClasses ) ; echo Html :: a ( $ label , $ url , $ options ) ; } $ this -> endButtonGroup ( ) ; }
Render the actions as separate links
Render the actions as separate links