function aggregator_feed_load
Same name and namespace in other branches
- 6.x drupal-6.x/modules/aggregator/aggregator.module \aggregator_feed_load()
Loads an aggregator feed.
Parameters
$fid: The feed id.
Return value
An object describing the feed.
Archivo
- drupal-7.x/
modules/ aggregator/ aggregator.module, line 683 - Used to aggregate syndicated content (RSS, RDF, and Atom).
Código
function aggregator_feed_load($fid) {
$feeds = &drupal_static(__FUNCTION__);
if (!isset($feeds[$fid])) {
$feeds[$fid] = db_query('SELECT * FROM {aggregator_feed} WHERE fid = :fid', array(':fid' => $fid))->fetchObject();
}
return $feeds[$fid];
}