hook_atr_review_save

Versions
6.1
hook_atr_review_save($review)

Respond to reviews being saved.

Parameters

$review The ATRReview object of the review being saved.

Code

atr/atr.api.php, line 88

<?php
function hook_atr_review_save($review) {
  db_query("INSERT INTO {foo_average} VALUES (%d)", $review->word_count / $review->string_count);
}
?>