| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 1373 lines (49 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| taxonomy_perm() X-Ref |
| Implementation of hook_perm(). |
| taxonomy_theme() X-Ref |
| Implementation of hook_theme(). |
| 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() X-Ref |
| Implementation of hook_menu(). |
| taxonomy_save_vocabulary(&$edit) X-Ref |
| No description |
| taxonomy_del_vocabulary($vid) X-Ref |
| Delete a vocabulary. param: $vid return: |
| taxonomy_check_vocabulary_hierarchy($vocabulary, $changed_term) X-Ref |
| Dynamically check and update the hierarachy flag of a vocabulary. Checks the current parents of all terms in a vocabulary and updates the vocabularies hierarchy setting to the lowest possible level. A hierarchy with no parents in any of its terms will be given a hierarchy of 0. If terms contain at most a single parent, the vocabulary will be given a hierarchy of 1. If any term contain multiple parents, the vocabulary will be given a hieararchy of 2. param: $vocabulary param: $changed_term |
| taxonomy_save_term(&$form_values) X-Ref |
| Helper function for taxonomy_form_term_submit(). param: $form_state['values'] return: |
| taxonomy_del_term($tid) X-Ref |
| Delete a term. param: $tid return: |
| taxonomy_form($vid, $value = 0, $help = NULL, $name = 'taxonomy') X-Ref |
| Generate a form element for selecting terms from a vocabulary. param: $vid param: $value param: $help return: |
| 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, $form_state, $form_id) X-Ref |
| Implementation of hook_form_alter(). Generate a form for selecting terms to associate with a node. We check for taxonomy_override_selector before loading the full vocabulary, so contrib modules can intercept before hook_form_alter and provide scalable alternatives. |
| taxonomy_preview_terms($node) X-Ref |
| Helper function to convert terms after a preview. After preview the tags are an array instead of proper objects. This function converts them back to objects with the exception of 'free tagging' terms, because new tags can be added by the user before preview and those do not yet exist in the database. We therefore save those tags as a string so we can fill the form again after the preview. |
| taxonomy_node_get_terms_by_vocabulary($node, $vid, $key = 'tid') X-Ref |
| Find all terms associated with the given node, within one vocabulary. |
| taxonomy_node_get_terms($node, $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($node, $terms) X-Ref |
| Save term associations for a given node. |
| taxonomy_node_delete($node) X-Ref |
| Remove associations of a node to its terms. |
| taxonomy_node_delete_revision($node) 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_vocabulary_load($vid, $reset = FALSE) X-Ref |
| Return the vocabulary object matching a vocabulary ID. param: $vid param: $reset return: |
| taxonomy_get_term($tid, $reset = FALSE) X-Ref |
| Return the term object matching a term ID. param: $tid param: $reset return: Object |
| _taxonomy_term_select($title, $name, $value, $vocabulary_id, $description, $multiple, $blank, $exclude = array() X-Ref |
| Create a select form element for a given taxonomy vocabulary. NOTE: This function expects input that has already been sanitized and is safe for display. Callers must properly sanitize the $title and $description arguments to prevent XSS vulnerabilities. param: $title param: $name param: $value param: $vocabulary_id param: $description param: $multiple param: $blank param: $exclude return: |
| theme_taxonomy_term_select($element) X-Ref |
| Format the selection field for choosing terms (by deafult the default selection field is used). |
| 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_rss_item($node) X-Ref |
| Provides category information for RSS feeds. |
| taxonomy_help($path, $arg) X-Ref |
| Implementation of hook_help(). |
| _taxonomy_get_tid_from_term($term) X-Ref |
| Helper function for array_map purposes. |
| taxonomy_implode_tags($tags, $vid = NULL) X-Ref |
| Implodes a list of tags of a certain vocabulary into a string. |
| taxonomy_hook_info() X-Ref |
| Implementation of hook_hook_info(). |
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |