function taxonomy_node_update_index in Drupal 6
Same name and namespace in other branches
- 4 modules/taxonomy.module \taxonomy_node_update_index()
- 5 modules/taxonomy/taxonomy.module \taxonomy_node_update_index()
Implementation of hook_nodeapi('update_index').
1 call to taxonomy_node_update_index()
- taxonomy_nodeapi in modules/taxonomy/ taxonomy.module 
- Implementation of hook_nodeapi().
File
- modules/taxonomy/ taxonomy.module, line 1291 
- Enables the organization of content into categories.
Code
function taxonomy_node_update_index(&$node) {
  $output = array();
  foreach ($node->taxonomy as $term) {
    $output[] = $term->name;
  }
  if (count($output)) {
    return '<strong>(' . implode(', ', $output) . ')</strong>';
  }
}