_comment_load

5 comment.module _comment_load($cid)
6 comment.module _comment_load($cid)

Load the entire comment by cid.

Parameters

$cid: The identifying comment id.

Return value

The comment object.

4 calls to _comment_load()

File

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

Code

function _comment_load($cid) {
  return db_fetch_object(db_query('SELECT * FROM {comments} WHERE cid = %d', $cid));
}
Login or register to post comments