It seems like a filter list in my parent class is masked by a filter list in my inherited class. Inherited filter functions is called if I add the specification in the inherited class.
/Tommy
Page 1 of 1
Chain of filter lists
#2
Posted 30 November 2008 - 07:32 AM
If you override filters() in both parent and child classes, you need to make sure you merge the parent filters into the child's.
#3
Posted 30 November 2008 - 11:05 AM
Thanks,
I think it might be a good idea to mention this in the documention.
/Tommy
I think it might be a good idea to mention this in the documention.
public function filters()
{
return array_merge (
array (
'...'
),
parent::filters()
);
}
/Tommy
Share this topic:
Page 1 of 1