[ Index ]
 

Code source de Drupal 5.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/modules/taxonomy/ -> taxonomy.module (sommaire)

(pas de description)

Poids: 1515 lignes (56 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 54 fonctions

  taxonomy_perm()
  taxonomy_link()
  taxonomy_term_path()
  taxonomy_menu()
  taxonomy_overview_vocabularies()
  taxonomy_overview_terms()
  taxonomy_form_vocabulary()
  taxonomy_form_vocabulary_submit()
  taxonomy_save_vocabulary()
  taxonomy_del_vocabulary()
  taxonomy_vocabulary_confirm_delete()
  taxonomy_vocabulary_confirm_delete_submit()
  taxonomy_form_term()
  taxonomy_form_term_submit()
  taxonomy_save_term()
  taxonomy_del_term()
  taxonomy_term_confirm_delete()
  taxonomy_term_confirm_delete_submit()
  taxonomy_form()
  taxonomy_form_all()
  taxonomy_get_vocabularies()
  taxonomy_form_alter()
  taxonomy_node_get_terms_by_vocabulary()
  taxonomy_node_get_terms()
  taxonomy_node_validate()
  taxonomy_node_save()
  taxonomy_node_delete()
  taxonomy_node_type()
  taxonomy_get_related()
  taxonomy_get_parents()
  taxonomy_get_parents_all()
  taxonomy_get_children()
  taxonomy_get_tree()
  taxonomy_get_synonyms()
  taxonomy_get_synonym_root()
  taxonomy_term_count_nodes()
  _taxonomy_term_children()
  taxonomy_get_term_by_name()
  taxonomy_get_vocabulary()
  taxonomy_get_term()
  _taxonomy_term_select()
  theme_taxonomy_term_select()
  taxonomy_select_nodes()
  taxonomy_render_nodes()
  taxonomy_nodeapi()
  taxonomy_node_update_index()
  taxonomy_terms_parse_string()
  taxonomy_term_page()
  taxonomy_admin_vocabulary_edit()
  taxonomy_admin_term_edit()
  taxonomy_rss_item()
  taxonomy_help()
  _taxonomy_get_tid_from_term()
  taxonomy_autocomplete()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

taxonomy_perm()   X-Ref
Implementation of hook_perm().


taxonomy_link($type, $node = NULL)   X-Ref
Implementation of hook_link().

This hook is extended with $type = 'taxonomy terms' to allow themes to
print lists of terms associated with a node. Themes can print taxonomy
links with:

if (module_exists('taxonomy')) {
$terms = taxonomy_link('taxonomy terms', $node);
print theme('links', $terms);
}

taxonomy_term_path($term)   X-Ref
For vocabularies not maintained by taxonomy.module, give the maintaining
module a chance to provide a path for terms in that vocabulary.

param: $term
return:

taxonomy_menu($may_cache)   X-Ref
Implementation of hook_menu().


taxonomy_overview_vocabularies()   X-Ref
List and manage vocabularies.


taxonomy_overview_terms($vid)   X-Ref
Display a tree of all the terms in a vocabulary, with options to edit
each one.


taxonomy_form_vocabulary($edit = array()   X-Ref
Display form for adding and editing vocabularies.


taxonomy_form_vocabulary_submit($form_id, $form_values)   X-Ref
Accept the form submission for a vocabulary and save the results.


taxonomy_save_vocabulary(&$edit)   X-Ref
Pas de description

taxonomy_del_vocabulary($vid)   X-Ref
Delete a vocabulary.

param: $vid
return:

taxonomy_vocabulary_confirm_delete($vid)   X-Ref
Pas de description

taxonomy_vocabulary_confirm_delete_submit($form_id, $form_values)   X-Ref
Pas de description

taxonomy_form_term($vocabulary_id, $edit = array()   X-Ref
Pas de description

taxonomy_form_term_submit($form_id, $form_values)   X-Ref
Accept the form submission for a taxonomy term and save the result.


taxonomy_save_term(&$form_values)   X-Ref
Helper function for taxonomy_form_term_submit().

param: $form_values
return:

taxonomy_del_term($tid)   X-Ref
Delete a term.

param: $tid
return:

taxonomy_term_confirm_delete($tid)   X-Ref
Pas de description

taxonomy_term_confirm_delete_submit($form_id, $form_values)   X-Ref
Pas de description

taxonomy_form($vid, $value = 0, $help = NULL, $name = 'taxonomy')   X-Ref
Generate a form element for selecting terms from a vocabulary.


taxonomy_form_all($free_tags = 0)   X-Ref
Generate a set of options for selecting a term from all vocabularies.


taxonomy_get_vocabularies($type = NULL)   X-Ref
Return an array of all vocabulary objects.

param: $type

taxonomy_form_alter($form_id, &$form)   X-Ref
Implementation of hook_form_alter().
Generate a form for selecting terms to associate with a node.


taxonomy_node_get_terms_by_vocabulary($nid, $vid, $key = 'tid')   X-Ref
Find all terms associated with the given node, within one vocabulary.


taxonomy_node_get_terms($nid, $key = 'tid')   X-Ref
Find all terms associated with the given node, ordered by vocabulary and term weight.


taxonomy_node_validate(&$node)   X-Ref
Make sure incoming vids are free tagging enabled.


taxonomy_node_save($nid, $terms)   X-Ref
Save term associations for a given node.


taxonomy_node_delete($nid)   X-Ref
Remove associations of a node to its terms.


taxonomy_node_type($op, $info)   X-Ref
Implementation of hook_node_type().


taxonomy_get_related($tid, $key = 'tid')   X-Ref
Find all term objects related to a given term ID.


taxonomy_get_parents($tid, $key = 'tid')   X-Ref
Find all parents of a given term ID.


taxonomy_get_parents_all($tid)   X-Ref
Find all ancestors of a given term ID.


taxonomy_get_children($tid, $vid = 0, $key = 'tid')   X-Ref
Find all children of a term ID.


taxonomy_get_tree($vid, $parent = 0, $depth = -1, $max_depth = NULL)   X-Ref
Create a hierarchical representation of a vocabulary.

param: $vid
param: $parent
param: $depth
param: $max_depth
return:

taxonomy_get_synonyms($tid)   X-Ref
Return an array of synonyms of the given term ID.


taxonomy_get_synonym_root($synonym)   X-Ref
Return the term object that has the given string as a synonym.


taxonomy_term_count_nodes($tid, $type = 0)   X-Ref
Count the number of published nodes classified by a term.

param: $tid
param: $type
return: int

_taxonomy_term_children($tid)   X-Ref
Helper for taxonomy_term_count_nodes(). Used to find out
which terms are children of a parent term.

param: $tid
return: array

taxonomy_get_term_by_name($name)   X-Ref
Try to map a string to an existing term, as for glossary use.

Provides a case-insensitive and trimmed mapping, to maximize the
likelihood of a successful match.

param: name
return:

taxonomy_get_vocabulary($vid)   X-Ref
Return the vocabulary object matching a vocabulary ID.

param: $vid
return: Object

taxonomy_get_term($tid)   X-Ref
Return the term object matching a term ID.

param: $tid
return: Object

_taxonomy_term_select($title, $name, $value, $vocabulary_id, $description, $multiple, $blank, $exclude = array()   X-Ref
Pas de description

theme_taxonomy_term_select($element)   X-Ref
We use the default selection field for choosing terms.


taxonomy_select_nodes($tids = array()   X-Ref
Finds all nodes that match selected taxonomy conditions.

param: $tids
param: $operator
param: $depth
param: $pager
param: $order
return:

taxonomy_render_nodes($result)   X-Ref
Accepts the result of a pager_query() call, such as that performed by
taxonomy_select_nodes(), and formats each node along with a pager.


taxonomy_nodeapi($node, $op, $arg = 0)   X-Ref
Implementation of hook_nodeapi().


taxonomy_node_update_index(&$node)   X-Ref
Implementation of hook_nodeapi('update_index').


taxonomy_terms_parse_string($str_tids)   X-Ref
Parses a comma or plus separated string of term IDs.

param: $str_tids
return: an associative array with an operator key (either 'and'

taxonomy_term_page($str_tids = '', $depth = 0, $op = 'page')   X-Ref
Menu callback; displays all nodes associated with a term.


taxonomy_admin_vocabulary_edit($vid = NULL)   X-Ref
Page to edit a vocabulary.


taxonomy_admin_term_edit($tid)   X-Ref
Page to edit a vocabulary term.


taxonomy_rss_item($node)   X-Ref
Provides category information for RSS feeds.


taxonomy_help($section)   X-Ref
Implementation of hook_help().


_taxonomy_get_tid_from_term($term)   X-Ref
Helper function for array_map purposes.


taxonomy_autocomplete($vid, $string = '')   X-Ref
Helper function for autocompletion




Généré le : Fri Nov 30 16:20:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics