Php 使用TBeditableColumnYiBooster更新数据库

Php 使用TBeditableColumnYiBooster更新数据库,php,yii,cgridview,yii-booster,Php,Yii,Cgridview,Yii Booster,我正在使用Yii和YiiBooster,我正在使用TbEditableColumn编辑我的GridView 是否可以使用此可编辑列更改表中的数据 这是我的代码: $this->widget('booster.widgets.TbGridView', array( 'id' => 'post-grid', 'type' => 'striped bordered', 'dataProvider' => $model->search(), 'filter' => $

我正在使用Yii和YiiBooster,我正在使用TbEditableColumn编辑我的GridView

是否可以使用此可编辑列更改表中的数据

这是我的代码:

$this->widget('booster.widgets.TbGridView', array(
'id' => 'post-grid',
'type' => 'striped bordered',
'dataProvider' => $model->search(),
'filter' => $model,
'columns' => array(
    array('name' => 'author_name', 'value' => '$data->author ? $data->author->username: "-"'),
    array('name' => 'kegiatan', 'value' => 'str_replace(array("\r\n", "\r", "\n"), "\n", $data->kegiatan)'),
    'pic',
    'keterangan',
    'create_time',
    array(
            'class' => 'booster.widgets.TbEditableColumn',
            'name' => 'feedback',
            'sortable' => false,
            'editable' => array(
                'url' => $this->createUrl('updateFeedback'),
                'placement' => 'right',
                'inputclass' => 'span3'
            )
        ),
    array(
        'header' =>'Action',
        'class' => 'CButtonColumn',
    ),
),
));
在MyController/updateFeedback中我必须做什么?

答案是