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

cms:onBeforeHandleAjax event

Triggered by Cms_Controller
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onBeforeHandleAjax()
Triggered before an AJAX request is handled. The event handler result does not affect the request handling process unless an exception is thrown. Usage example:
public function subscribeEvents()
{
  Backend::$events->addEvent('cms:onBeforeHandleAjax', $this, 'before_handle_ajax');
}

public function before_handle_ajax($page)
{
  // Do something
}