Unable To Post Dynamic Value In Yii Editable

Hey,

we are using editable function of yii-booster. we are using this widget as follow:


$this->widget('bootstrap.widgets.TbEditableField', array(

                                                'type' => 'select',

                                                'model' => $data,

                                                'emptytext' => $Monday[$time],

                                                'attribute' => 'monday',

                                                'url' => $this->createUrl('staffhours/updatetime&time='.$time),

                                                'source' => array('Open', 'Close', 'Away'),

                                                'enabled' => true

                                        )); 

                                        

                                        ?> 

This widget is in a loop. Every time when this loop runs, the value of this $time variable changes, but into this widget, every time the same value is assigned to this $time,