check this out:
http://github.com/mcurry/cakephp_static_user/tree/master


On 21 Jul., 06:32, Rimoe <[email protected]> wrote:
> hi,
>
> everyone!
> I have use ($this->Auth->user()) to get the log in info in controller.
> but now I want to get the info of user in a model.
>
> because the method of model has been used in many controller,
> change the method has became a big work,
>  can I get the info of user in a model.php?
>
> thank you very much!
>
> rimoe
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to