I'm implementing a web site at an ISP (like many it seems) that has
not enabled overload().

I'm accustomed to the Perl world, where I use a base class to do
get/set methods by inserting them into the symbol table.  From what
I've read, the way to do this in PHP is to use overload().

My other alternative is to have something like get('varname'),
set('varname', 'value') in a base class for my object.  Is that they
way to do this, or can you point me to a better way?  I don't wish to
manually implement methods for every variable in every class I have.

Barry Hoggard
Tristan Media LLC
p: 212-627-1596
aim: hoggardb 

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to