function aggregator_element_end
aggregator_element_end($parser, $name)
Performs an action when a closing tag is encountered.
Callback function used by xml_parse() within aggregator_parse_feed().
File
- modules/aggregator/aggregator.parser.inc, line 222
- Parser functions for the aggregator module.
Code
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 = ''; } } }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!aggregator!aggregator.parser.inc/function/aggregator_element_end/7.x