aggregator_category_load($cid)
drupal/modules/aggregator/aggregator.module, line 972
Load an aggregator category.
$cid The category id.
An associative array describing the category.
function aggregator_category_load($cid) {
static $categories;
if (!isset($categories[$cid])) {
$categories[$cid] = db_query('SELECT * FROM {aggregator_category} WHERE cid = :cid', array(':cid' => $cid))->fetchAssoc();
}
return $categories[$cid];
}