This is the API docs for LemonStand V1, which has been discontinued. LemonStand is now a cloud based platform, available at lemonstand.com.

LemonStand API

backend:onAfterRemoteEvent event

Triggered by Backend_Controller
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onAfterRemoteEvent(Backend_Controller $controller, string $event_name)
$controller Backend_Controller specifies the Administration Area controller object.
$event_name string specifies the AJAX event name.
Triggered after an Administration Area AJAX request is handled. Note that if the AJAX request handler stops the script execution (by redirecting to another page, for example), the backend:onAfterRemoteEvent event is not triggered. Example:
public function subscribeEvents()
{
  Backend::$events->addEvent('backend:onAfterRemoteEvent', $this, 'after_remote_event');
}

public function after_remote_event($controller, $event)
{
  traceLog('After '.$event);
}