protected function getButtonsHtml() { $buttons = ''; foreach ($this->buttons as $button) { /* @var $button array */ Html::addCssClass($button, [Button::BTN_DIALOG]); $buttons .= Button::widget($button); } return $buttons; }
/** * @return string * @throws \Exception */ protected function renderButtons() { $buttonsHtml = ''; foreach ($this->buttons as $button) { $buttonsHtml .= Button::widget($button); } return $buttonsHtml; }