function taxonomy_xml_about_services in Taxonomy import/export via XML 6
Same name and namespace in other branches
- 6.2 taxonomy_xml.module \taxonomy_xml_about_services()
- 7 taxonomy_xml.module \taxonomy_xml_about_services()
Admin help page listing details of available services A menu page callback
1 string reference to 'taxonomy_xml_about_services'
- taxonomy_xml_menu in ./
taxonomy_xml.module - Implementation of hook_menu: Define menu links.
File
- ./
taxonomy_xml.module, line 1429 - taxonomy_xml.module This module makes it possible to import and export taxonomies as XML documents.
Code
function taxonomy_xml_about_services() {
drupal_set_title(t('About Taxonomy Import Services'));
$services = taxonomy_xml_lookup_services();
$output = "<dl>";
foreach ($services as $service) {
$output .= '<dt>' . $service['provider'] . ' - ' . $service['servicename'] . ' (' . $service['protocol'] . ' ' . $service['servicetype'] . ')</dt>';
$output .= '<dd>' . $service['description'] . ' <br/> ' . $service['format'] . ' <br/> ' . l($service['about'], $service['about']) . '</dd>';
}
$output .= "</dl>";
return $output;
}