i have a behavior like this
class Abc extends CActiveRecordBehavior{
public function speak(){
// speak
}
}
then i have a model like this one
class AnyModel extends CActiveRecord{
public function behaviors() {
return array('Abc' => array(
'class' => 'application.components.Abc')
);
}
public function someFunction(){
//here how can i call function speak of Abc behaviour .
}
}