[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/modules/taxonomy/ -> taxonomy.admin.inc (summary)

(no description)

File Size: 926 lines (37 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 21 functions

  taxonomy_overview_vocabularies()
  taxonomy_overview_vocabularies_submit()
  theme_taxonomy_overview_vocabularies()
  taxonomy_form_vocabulary()
  taxonomy_form_vocabulary_submit()
  taxonomy_admin_vocabulary_edit()
  taxonomy_admin_term_edit()
  taxonomy_overview_terms()
  taxonomy_overview_terms_submit()
  theme_taxonomy_overview_terms()
  taxonomy_add_term_page()
  taxonomy_form_term()
  taxonomy_form_term_validate()
  taxonomy_form_term_submit()
  taxonomy_term_confirm_parents()
  taxonomy_term_confirm_delete()
  taxonomy_term_confirm_delete_submit()
  taxonomy_vocabulary_confirm_delete()
  taxonomy_vocabulary_confirm_delete_submit()
  taxonomy_vocabulary_confirm_reset_alphabetical()
  taxonomy_vocabulary_confirm_reset_alphabetical_submit()

Functions
Functions that are not part of a class:

taxonomy_overview_vocabularies()   X-Ref
Form builder to list and manage vocabularies.


taxonomy_overview_vocabularies_submit($form, &$form_state)   X-Ref
Submit handler for vocabularies overview. Updates changed vocabulary weights.


theme_taxonomy_overview_vocabularies($form)   X-Ref
Theme the vocabulary overview as a sortable list of vocabularies.


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


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


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


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


taxonomy_overview_terms(&$form_state, $vocabulary)   X-Ref
Form builder for the taxonomy terms overview.

Display a tree of all the terms in a vocabulary, with options to edit
each one. The form is made drag and drop by the theme function.


taxonomy_overview_terms_submit($form, &$form_state)   X-Ref
Submit handler for terms overview form.

Rather than using a textfield or weight field, this form depends entirely
upon the order of form elements on the page to determine new weights.

Because there might be hundreds or thousands of taxonomy terms that need to
be ordered, terms are weighted from 0 to the number of terms in the
vocabulary, rather than the standard -10 to 10 scale. Numbers are sorted
lowest to highest, but are not necessarily sequential. Numbers may be skipped
when a term has children so that reordering is minimal when a child is
added or removed from a term.


theme_taxonomy_overview_terms($form)   X-Ref
Theme the terms overview as a sortable list of terms.


taxonomy_add_term_page($vocabulary)   X-Ref
Menu callback; return the edit form for a new term after setting the title.


taxonomy_form_term(&$form_state, $vocabulary, $edit = array()   X-Ref
Form function for the term edit form.


taxonomy_form_term_validate($form, &$form_state)   X-Ref
Validation handler for the term edit form. Ensure numeric weight values.


taxonomy_form_term_submit($form, &$form_state)   X-Ref
Submit handler to insert or update a term.


taxonomy_term_confirm_parents(&$form_state, $vocabulary)   X-Ref
Form builder for the confirmation of multiple term parents.


taxonomy_term_confirm_delete(&$form_state, $tid)   X-Ref
Form builder for the term delete form.


taxonomy_term_confirm_delete_submit($form, &$form_state)   X-Ref
Submit handler to delete a term after confirmation.


taxonomy_vocabulary_confirm_delete(&$form_state, $vid)   X-Ref
Form builder for the vocabulary delete confirmation form.


taxonomy_vocabulary_confirm_delete_submit($form, &$form_state)   X-Ref
Submit handler to delete a vocabulary after confirmation.


taxonomy_vocabulary_confirm_reset_alphabetical(&$form_state, $vid)   X-Ref
Form builder to confirm reseting a vocabulary to alphabetical order.


taxonomy_vocabulary_confirm_reset_alphabetical_submit($form, &$form_state)   X-Ref
Submit handler to reset a vocabulary to alphabetical order after confirmation.




Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7