Welcome Guest, Not a member yet? Register   Sign In
Email Library Constructor
#6

(06-02-2015, 07:08 AM)Avenirer Wrote: @330Root That is because... OOP?... You are actually working with properties in classes, not with variables. It would take a lot to explain. You should look for OOP tutorials.

In short, those properties are accessible across your class (inside the methods) only if you put $this-> before their name. By using $this->property you are actually tell a method to look for a property of the class with the name of "property".

That helps.  Thank you very much.  Always trying to learn. 
Reply


Messages In This Thread
Email Library Constructor - by 330Root - 06-01-2015, 02:06 PM
RE: Email Library Constructor - by Avenirer - 06-02-2015, 01:38 AM
RE: Email Library Constructor - by JayAdra - 06-02-2015, 03:20 AM
RE: Email Library Constructor - by 330Root - 06-02-2015, 06:58 AM
RE: Email Library Constructor - by Avenirer - 06-02-2015, 07:08 AM
RE: Email Library Constructor - by 330Root - 06-02-2015, 07:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB