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