/**
  * @inheritdoc
  */
 protected function renderButton($id, $button, $row, $data)
 {
     if (!empty($button['icon'])) {
         if (!isset($button['options']['title'])) {
             $button['options']['title'] = isset($button['label']) ? $button['label'] : $id;
         }
         $button['label'] = Html::icon($button['icon']);
         $button['imageUrl'] = null;
     }
     if ($this->enableTooltips) {
         $button['options']['data-toggle'] = 'tooltip';
     }
     parent::renderButton($id, $button, $row, $data);
 }
 protected function renderButton($id, $button, $row, $data)
 {
     $button['imageUrl'] = Yii::app()->baseUrl . '/images/' . Contrato::getReajusta($data->id) . '.png';
     parent::renderButton($id, $button, $row, $data);
 }
 protected function renderButton($id, $button, $row, $data)
 {
     $button['imageUrl'] = $data->validado == "1" ? Yii::app()->baseUrl . "/images/validated.png" : Yii::app()->baseUrl . "/images/not_validated.png";
     parent::renderButton($id, $button, $row, $data);
 }
 protected function renderButton($id, $button, $row, $data)
 {
     $button['imageUrl'] = DemandaJudicial::getImagen($data->id);
     parent::renderButton($id, $button, $row, $data);
 }