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

Triggered by Db_FormBehavior
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onBeforeFormRenderPreview(Backend_Controller $controller, Db_ActiveRecord $record)
$controller Backend_Controller specifies the Administration Area controller object.
$record Db_ActiveRecord specifies the model object the form is going to be rendered for.
Triggered before an Administration Area preview (read-only) form is rendered.