Re: Accessing an object globally

21 views
Skip to first unread message
Message has been deleted

kine

unread,
Feb 24, 2013, 10:36:28 AM2/24/13
to pha...@googlegroups.com, Reza
have you tried Dependency Injector?

http://docs.phalconphp.com/en/latest/reference/di.html

El domingo, 24 de febrero de 2013 02:54:27 UTC-6, Reza escribió:
Hello everybody
How can I make an object accessilbe in all MVC layers? For example I want retrive current usrers's profile using in an instatnce of Model class, and access its methods and funtions globally. If the object changes the change shold be refelect globally.
 
Thanks in adavance
Reply all
Reply to author
Forward
0 new messages