aggregator_element_end

Versions
4.6 – 7
aggregator_element_end($parser, $name)

Call-back function used by the XML parser.

Code

modules/aggregator/aggregator.parser.inc, line 217

<?php
function aggregator_element_end($parser, $name) {
  global $element;

  switch ($name) {
    case 'image':
    case 'textinput':
    case 'item':
    case 'entry':
    case 'content':
    case 'info':
      $element = '';
      break;
    case 'id':
      if ($element == 'id') {
        $element = '';
      }
  }
}
?>
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.