> It doesn't seem to work.  I'm not sure of the syntax to do this. moveUp(
> ) is a method of the class,
> but I'm not sure how to tell it, call_user_func( ), since I need the
> syntax to be $this->functionName( ).

Replace:
call_user_func($this->$callbackFunction);
with:
$this->$callbackFunction();

see http://us.php.net/manual/en/functions.variable-functions.php for
an explanation.

call_user_func() treats everything as a static method and will not work.


Regards,
John Campbell
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to