Welcome Guest, Not a member yet? Register   Sign In
Libraries
#4

[eluser]coolfactor[/eluser]
[quote author="codelearn" date="1187907068"]And then in the library $var2 would have value of 'value2'?[/quote]

The following is how you'd access var2:
Code:
$this->var2

It would be an object variable.


Messages In This Thread
Libraries - by El Forum - 08-23-2007, 09:47 AM
Libraries - by El Forum - 08-23-2007, 11:05 AM
Libraries - by El Forum - 08-23-2007, 11:11 AM
Libraries - by El Forum - 08-23-2007, 11:16 AM
Libraries - by El Forum - 08-23-2007, 11:34 AM
Libraries - by El Forum - 08-23-2007, 11:41 AM
Libraries - by El Forum - 08-23-2007, 11:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB