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

shop:onDisplayCustomersPage event

Triggered by /modules/shop/controllers/shop_customers.php
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onDisplayCustomersPage(Backend_Controller $controller)
$controller Backend_Controller specifies the controller object.
Allows to load extra CSS or JavaScript files on the Customer List, Customer Preview and Create/Edit Customer pages. The event handler should accept a single parameter - the controller object reference. Call addJavaScript() and addCss() methods of the controller object to add references to JavaScript and CSS files. Use paths relative to LemonStand installation URL for your resource files.
public function subscribeEvents()
{
  Backend::$events->addEvent('shop:onDisplayCustomersPage', $this, 'load_resources');
}

public function load_resources($controller)
{
  $controller->addJavaScript('/modules/mymodule/resources/javascript/my.js');
  $controller->addCss('/modules/mymodule/resources/css/my.css');
}