pogidude Posted June 19, 2013 Share Posted June 19, 2013 in modules, I see code like this: $user = $this->user; and sometimes like this: $user = $this->fuel('user'); when should I use which? Link to comment Share on other sites More sharing options...
Soma Posted June 19, 2013 Share Posted June 19, 2013 Use $this or wire(). You can use fuel but Ryan once explained it's deprecated and an old artifact using it. 1 Link to comment Share on other sites More sharing options...
pogidude Posted June 19, 2013 Author Share Posted June 19, 2013 ahhh.. thanks! I do like fuel().. it sounds awesome 1 Link to comment Share on other sites More sharing options...
Soma Posted June 19, 2013 Share Posted June 19, 2013 But it's too long and cumbersome to type. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now