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:onControllerInit event

Triggered by Backend_Controller
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onControllerInit(Backend_Controller $controller)
$controller Backend_Controller specifies the Administration Area controller object.
Triggered after an Administration Area controller object is created, but before it is configured.
public function subscribeEvents()
{
  Backend::$events->addEvent('backend:onControllerInit', $this, 'on_backend_controller_init');
}

public function on_backend_controller_init($controller)
{
  // Do something
}