this is my code:
config/main.php
'import'=>array(
'application.models.*',
'application.components.*',
'application.extensions.CAdvancedArBehavior',
),
i add this behavior to each model
public function behaviors(){
return array( 'CAdvancedArBehavior' => array(
'class' => 'application.extensions.CAdvancedArBehavior'));
}
but when i run my application:
CException
Alias "application.extensions.CAdvancedArBehavior" is invalid. Make sure it points to an existing PHP file and the file is readable.
i need help with this error… i have a MANY_MANY relations but doesn’t work.