Hi i’m a newbie in yii.
Could you help me this one thing about modules and model.
For example I have model User in /protected/models/User.php.
Next, I have a module.
Is it possible to call User::model->findByPK(1) from module DefaultController?
Hi i’m a newbie in yii.
Could you help me this one thing about modules and model.
For example I have model User in /protected/models/User.php.
Next, I have a module.
Is it possible to call User::model->findByPK(1) from module DefaultController?
User::[size="5"]model()[/size]->findByPK(1) could be called in any controller
I’ve tried and haven’t got any result
The rison was in problem with local server
Sorry for stupid question:)