function aggregator_block_save

cis7 aggregator.module aggregator_block_save($delta = '', $edit = array())
cle7 aggregator.module aggregator_block_save($delta = '', $edit = array())
elmsmedia7 aggregator.module aggregator_block_save($delta = '', $edit = array())
icor7 aggregator.module aggregator_block_save($delta = '', $edit = array())
meedjum_blog7 aggregator.module aggregator_block_save($delta = '', $edit = array())
mooc7 aggregator.module aggregator_block_save($delta = '', $edit = array())

Implements hook_block_save().

File

modules/aggregator/aggregator.module, line 381
Used to aggregate syndicated content (RSS, RDF, and Atom).

Code

function aggregator_block_save($delta = '', $edit = array()) {
  list($type, $id) = explode('-', $delta);
  if ($type == 'category') {
    db_update('aggregator_category')->fields(array('block' => $edit['block']))->condition('cid', $id)->execute();
  }
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.