pogidude Posted June 19, 2013 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?
Soma Posted June 19, 2013 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
pogidude Posted June 19, 2013 Author Posted June 19, 2013 ahhh.. thanks! I do like fuel().. it sounds awesome 1
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