comment_load

Definition

comment_load($cid)
drupal/modules/comment/comment.module, line 1191

Description

Load the entire comment by cid.

Parameters

$cid The identifying comment id.

Return value

The comment object.

Code

function comment_load($cid) {
  return db_query('SELECT * FROM {comment} WHERE cid = :cid', array(':cid' => $cid))->fetchObject();
}