Topic: Registering Single Class Method 0.5
Hello,
before i did upgrade to 0.5 stable the following worked:
$xajax->registerFunction(array('doAddChar', $this->controllerModel,'addChar'));
After upgrading to 0.5 stable the old one does not work anymore:
$xajax->register(XAJAX_FUNCTION,'doAddChar',array('doAddChar', $this->controllerModel,'addChar'));
Getting:
Catchable fatal error: Object of class CreatecharModel could not be converted to string in ... plugin_layer/support/xajaxUserFunction.inc.php on line 196
Anyone know whats the problem? ![]()
thx!
sc0pe
Last edited by sc0pe (2009-06-09 9:59:36 AM)