aggregator_element_end

  1. drupal
    1. 5 aggregator.module
    2. 6 aggregator.module
    3. 7
    4. 8
Versions
5 – 7 aggregator_element_end($parser, $name)

Call-back function used by the XML parser.

Code

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

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

  switch ($name) {
    case 'image':
    case 'textinput':
    case 'item':
    case 'entry':
    case 'info':
      $element = '';
      break;
    case 'id':
    case 'content':
      if ($element == $name) {
        $element = '';
      }
  }
}
?>