edanb
(Edanbarak)
1
It seems like the beforeFind event is not raised (or maybe I didnt understand it properly)
I am defining the follow function in my AR:
public function beforeFind()
{
Yii::log('beforeFind', 'error');
return parent::beforeFind();
}
When I instantiate with question::model()->findByPk(1) I am not getting the log.
Is this a bug?
tri
(tri - Tommy Riboe)
2
Change public to protected.
/Tommy