aggregator_category_load

Versions
6 – 7
aggregator_category_load($cid)

Load an aggregator category.

Parameters

$cid The category id.

Return value

An associative array describing the category.

Code

modules/aggregator/aggregator.module, line 870

<?php
function aggregator_category_load($cid) {
  static $categories;
  if (!isset($categories[$cid])) {
    $categories[$cid] = db_fetch_array(db_query('SELECT * FROM {aggregator_category} WHERE cid = %d', $cid));
  }
  return $categories[$cid];
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.