original_string: protected function fetchContentOptions($model, $key, $index)
      {
          $options = parent::fetchContentOptions($model, $key, $index);
  
          if (!empty($this->columnOptions)) {
              foreach ($this->columnOptions as $option => $value) {
                  $options['data-column-' . $option] = $value;
              }
          }
  
          return $options;
      }
code: protected function fetchContentOptions($model, $key, $index)
      {
          $options = parent::fetchContentOptions($model, $key, $index);
  
          if (!empty($this->columnOptions)) {
              foreach ($this->columnOptions as $option => $value) {
                  $options['data-column-' . $option] = $value;
              }
          }
  
          return $options;
      }
code_tokens: protected function fetchContentOptions ( $ model , $ key , $ index ) { $ options = parent :: fetchContentOptions ( $ model , $ key , $ index ) ; if ( ! empty ( $ this -> columnOptions ) ) { foreach ( $ this -> columnOptions as $ option => $ value ) { $ options [ 'data-column-' . $ option ] = $ value ; } } return $ options ; }
docstring: Parses and fetches updated content options for grid visibility and format
  
  @param mixed $model the data model being rendered
  @param mixed $key the key associated with the data model
  @param integer $index the zero-based index of the data item among the item array returned by
  [[GridView::dataProvider]].
  
  @return array
docstring_tokens: Parses and fetches updated content options for grid visibility and format