I wont to assign behavior to model of third-party module via config, without modification of module sources.
This module is yii-user
And I wont to assign my behavior to User ActiveRecord (I need to add project-specific business-logic to User->afterSave)
Can i do that via config using basic yii functionality?
You can configure all widgets with widgetFactory.
If you include this extension as a widget, is possible.
Thanks, but i talk about model (active record) classes. I need to attach behavior to model of user profile, but i dont define it in configuration, i define only module “User”. Maby i can define models that used in this module in $conf[‘modules’][‘someModule’][‘components’][‘ARClass’] and attach behavior inside it?