| Versionen | |
|---|---|
| drupal6 – drupal7 | aggregator_element_end($parser, $name) |
Call-back function used by the XML parser.
modules/
<?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 = '';
}
}
}
?>
Kommentare
Kommentar hinzufügen