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

core:onBeforeListRecordDisplay event

Triggered by Db_ListBehavior
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onBeforeListRecordDisplay(Backend_Controller $controller, string $model_class, Db_ActiveRecord $model)
$controller Backend_Controller the Administration Area controller object.
$model_class string specifies class of a model being rendered by the list.
$model Db_ActiveRecord specifies a model object being rendered in the current list row.
Triggered before an Administration Area list row is displayed. In the event handler you can update the model's properties.