title: Yii View, Replacing some database values in CGridView
body: <p>I am new with Yii, Sorry if my question might be stupid, I am using CGridView to show some fields of my database in a table:</p>
  
  <pre><code>&lt;?php echo CHtml::link('Advanced Search','#',array('class'=&gt;'search-button')); ?&gt;
  &lt;div class="search-form" style="display:none"&gt;
  &lt;?php $this-&gt;renderPartial('_search',array(
      'model'=&gt;$model,
   )); ?&gt;
  &lt;/div&gt;&lt;!-- search-form --&gt;
  
  &lt;?php 
  
  
   $this-&gt;widget('zii.widgets.grid.CGridView', array(
     'id'=&gt;'show-grid',
     'dataProvider'=&gt;$model-&gt;search(),
     'filter'=&gt;$model,
     'columns'=&gt;array(
         'id',
         'title',
         'brief',
         'tbl_season_id',
         'on_season',
  
                  array(
                      'name'=&gt;'status',
                      'value'=&gt;'Lookup::item("NewsStatus",$data-&gt;status)',
                      'filter'=&gt;  Lookup::items('NewsStatus'),
                  ),
          array(
          'class'=&gt;'CButtonColumn',
          ),
          ),
        )); ?&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>I want to replace some of the values that are shown, for example, the <code>on_season</code> field is binary and in the table the values are 0 or 1, I want to change this values to <code>Yes</code> and <code>NO</code>,</p>
  
  <p>And <code>tbl_season_id</code> is a foreign key form another table, I would like to get the name of the season and put it instead of the id which is not understandable by the users.</p>