comment_load_multiple
- Versions
- 7
comment_load_multiple($cids = array(), $conditions = array())
Load comments from the database.
Parameters
$cids An array of comment IDs.
$conditions An array of conditions to match against the {comments} table. These should be supplied in the form array('field_name' => 'field_value').
Return value
An array of comment objects, indexed by comment ID.
Code
modules/comment/comment.module, line 1494
<?php
function comment_load_multiple($cids = array(), $conditions = array()) {
return entity_load('comment', $cids, $conditions);
}
?>Login or register to post comments 