mollom_data_load
Drupal 7 mollom_data_load($entity, $id)
Load a Mollom data record from the database.
Parameters
$entity: The entity type to retrieve data for.
$id: The entity id to retrieve data for.
8 calls to mollom_data_load()
File
- sites/
all/ modules/ mollom/ mollom.module, line 418 - Main Mollom integration module functions.
Code
function mollom_data_load($entity, $id) {
return mollom_db_query_range('SELECT * FROM {mollom} WHERE entity = :entity AND id = :id', 0, 1, array(':entity' => $entity, ':id' => $id))->fetchObject();
}

