![]() |
__get and __set ??
Hi.
Can someone please explain how they work? PHP Code:
PHP Code:
However, how do I GET them?? PHP Code:
|
http://phpdiscovery.com/php-5-behave...-a-magic-wand/ Check that article, quite helpful.
|
Quote:
But thanks :) |
|
Awesome :D
Thanks! EDIT: How did you do that php box? :O |
Quote:
[highlight=php] var myVar = myFunc(myArg); [/highlight] |
Awesome :D:D
Thanks ;) |
Here's another very useful 'tutorial' to learn the Magic functions!
http://hudzilla.org/phpwiki/index.ph...agic_functions |
I don't see a point in using set. How can you set variables which doesn't exists in the class?
|
Lol, what??
I'm not setting a variable.. |
Quote:
|
But I'm not setting a variable? =//
I'm just assigning a value to a key in the array tables... |
| All times are GMT. The time now is 04:31 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0