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

Triggered by Shop_ProductReview
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onProductReviewBeforeCreate(Shop_ProductReview $review)
$review Shop_ProductReview specifies the review object.
Triggered before a new product review record is created. Usage example:
public function subscribeEvents()
{
  Backend::$events->addEvent('shop:onProductReviewBeforeCreate', $this, 'before_create_product_review');
}

public function before_create_product_review($product_review)
{
  //do something here
}