atr_review_load

Versions
6.1
atr_review_load($rid)

Load a review.

Parameters

$rid The RID of the review to load.

Return value

An ATRReview object or FALSE if the RID doesn't match any reviews.

Code

atr/atr.module, line 415

<?php
function atr_review_load($rid) {
  $reviews = atr_review_load_multiple(array($rid));

  return isset($reviews[$rid]) ? $reviews[$rid] : FALSE;
}
?>