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
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
If you override filters() in both parent and child classes, you need to make sure you merge the parent filters into the child's.
Thanks,
I think it might be a good idea to mention this in the documention.
public function filters()
{
return array_merge (
array (
'...'
),
parent::filters()
);
}
/Tommy
Thanks for the suggestion. Just updated the API doc.