Skip navigation
Help

comment_load

7 comment.module comment_load($cid)

Load the entire comment by cid.

Parameters

$cid: The identifying comment id.

Return value

The comment object.

17 calls to comment_load()

File

drupal/modules/comment/comment.module, line 1657
Enables users to comment on published content.

Code

function comment_load($cid) {
  $comment = comment_load_multiple(array($cid));
  return $comment ? $comment[$cid] : FALSE;
}