hi,i hope that configure cache filter for simple action file, how to do? the code like:
class pinyinpickerAction extends CAction
{
public function run()
{
//code
}
}
i found the cache filter in control file in yii doc is:
public function filters()
{
return array(
array(
‘COutputCache’,
‘duration’=>100,
‘varyByParam’=>array(‘id’),
),
);
}
but i don’t know how to configure in simple action file, thks