comment_load
- Versions
- 7
comment_load($cid)
Load the entire comment by cid.
Parameters
$cid The identifying comment id.
Return value
The comment object.
Code
modules/comment/comment.module, line 1494
<?php
function comment_load($cid) {
$comment = comment_load_multiple(array($cid));
return $comment ? $comment[$cid] : FALSE;;
}
?>Login or register to post comments 