hook_atr_review_load

Versions
6.1
hook_atr_review_load(&$reviews)

Respond to reviews being loaded.

Parameters

$reviews A referenced array with the ATRReview objects of the reviews that are being loaded.

Code

atr/atr.api.php, line 99

<?php
function hook_atr_review_load(&$reviews) {
  foreach ($reviews as $rid => $review) {
    $reviews[$rid]->foo = variable_get('foo_' . $review->language, 'bar');
  }
}
?>