On 13-10-2008 at 22:57:29 admi <[EMAIL PROTECTED]> wrote:
public function __get($varname)
var_dump("Trying to get something!");
if ($varname == 'repeat')
Doesn't display anything like "Trying to get something!" or "huh?" as
__get method is used for getting unaccessible class members.
Am I wrong?
You're right. You'll need to change __set as well and make it store
variables in a private object/array to prevent this.
PHPTAL mailing list