Re: [PHP] Object method overloading

2003-08-14 Thread Dan Phiffer
Well, for instance, you could have the __get and __set functions execute a SQL query or go to a file or whatever. The point, as it seems to me anyway, is to enable a potentially complex internal implementation be exposed with a simple interface. Now as for the implications of that, it's debatable.

Re: [PHP] Object method overloading

2003-08-14 Thread daniel
What is the point of overloading an object again? > Hello, > > I realize this stuff isn't set in stone yet, but might I eventually > expect the following to make two assignments rather than one? > > > class overload_test > { >function __set($name, $value) { >echo "__set($name, $value)