Talk:Xajax 0.2: Tips and Tricks: Auto Register Methods






Talk:Xajax 0.2: Tips and Tricks: Auto Register Methods

The processRequests() function is not called anywhere in this code. It should go after the registerFunctions() function is called.

public function __construct()
{
  $this->xajax = new xajax();
  $this->registerFunctions(); 

  $this->xajax->processRequests();
}