C:/drupal/modules/taxonomy/taxonomy.admin.inc File Reference

Go to the source code of this file.


Functions

 taxonomy_overview_vocabularies ()
 taxonomy_overview_vocabularies_submit ($form, &$form_state)
 theme_taxonomy_overview_vocabularies ($form)
 taxonomy_form_vocabulary (&$form_state, $edit=array())
 taxonomy_form_vocabulary_submit ($form, &$form_state)
 taxonomy_admin_vocabulary_edit ($vocabulary)
 taxonomy_admin_term_edit ($tid)
 taxonomy_overview_terms (&$form_state, $vocabulary)
 taxonomy_overview_terms_submit ($form, &$form_state)
 theme_taxonomy_overview_terms ($form)
 taxonomy_add_term_page ($vocabulary)
 taxonomy_form_term (&$form_state, $vocabulary, $edit=array())
 taxonomy_form_term_validate ($form, &$form_state)
 taxonomy_form_term_submit ($form, &$form_state)
 taxonomy_term_confirm_parents (&$form_state, $vocabulary)
 taxonomy_term_confirm_delete (&$form_state, $tid)
 taxonomy_term_confirm_delete_submit ($form, &$form_state)
 taxonomy_vocabulary_confirm_delete (&$form_state, $vid)
 taxonomy_vocabulary_confirm_delete_submit ($form, &$form_state)
 taxonomy_vocabulary_confirm_reset_alphabetical (&$form_state, $vid)
 taxonomy_vocabulary_confirm_reset_alphabetical_submit ($form, &$form_state)


Detailed Description

Administrative page callbacks for the taxonomy module.

Definition in file taxonomy.admin.inc.


Function Documentation

taxonomy_add_term_page ( vocabulary  ) 

Menu callback; return the edit form for a new term after setting the title.

Definition at line 630 of file taxonomy.admin.inc.

References drupal_get_form(), drupal_set_title(), name, and t().

Here is the call graph for this function:

taxonomy_admin_term_edit ( tid  ) 

Page to edit a vocabulary term.

Definition at line 236 of file taxonomy.admin.inc.

References drupal_get_form(), and drupal_not_found().

Here is the call graph for this function:

taxonomy_admin_vocabulary_edit ( vocabulary  ) 

Page to edit a vocabulary.

Definition at line 229 of file taxonomy.admin.inc.

References drupal_get_form().

Here is the call graph for this function:

taxonomy_form_term_submit ( form,
&$  form_state 
)

Submit handler to insert or update a term.

See also:
taxonomy_form_term()

Definition at line 755 of file taxonomy.admin.inc.

References drupal_set_message(), l(), t(), taxonomy_term_confirm_delete_submit(), and watchdog().

Here is the call graph for this function:

taxonomy_form_term_validate ( form,
&$  form_state 
)

Validation handler for the term edit form. Ensure numeric weight values.

See also:
taxonomy_form_term()

Definition at line 744 of file taxonomy.admin.inc.

References form_set_error(), and t().

Here is the call graph for this function:

taxonomy_form_vocabulary_submit ( form,
&$  form_state 
)

Accept the form submission for a vocabulary and save the results.

Definition at line 201 of file taxonomy.admin.inc.

References drupal_set_message(), l(), t(), and watchdog().

Here is the call graph for this function:

taxonomy_overview_terms_submit ( form,
&$  form_state 
)

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.

See also:
taxonomy_overview_terms()

Definition at line 451 of file taxonomy.admin.inc.

References t(), and taxonomy_vocabulary_confirm_reset_alphabetical_submit().

Here is the call graph for this function:

taxonomy_overview_vocabularies_submit ( form,
&$  form_state 
)

Submit handler for vocabularies overview. Updates changed vocabulary weights.

See also:
taxonomy_overview_vocabularies()

Definition at line 50 of file taxonomy.admin.inc.

taxonomy_term_confirm_delete_submit ( form,
&$  form_state 
)

Submit handler to delete a term after confirmation.

See also:
taxonomy_term_confirm_delete()

Definition at line 858 of file taxonomy.admin.inc.

References drupal_set_message(), t(), and watchdog().

Referenced by taxonomy_form_term_submit().

Here is the call graph for this function:

taxonomy_vocabulary_confirm_delete_submit ( form,
&$  form_state 
)

Submit handler to delete a vocabulary after confirmation.

See also:
taxonomy_vocabulary_confirm_delete()

Definition at line 895 of file taxonomy.admin.inc.

References $status, drupal_set_message(), t(), and watchdog().

Here is the call graph for this function:

taxonomy_vocabulary_confirm_reset_alphabetical_submit ( form,
&$  form_state 
)

Submit handler to reset a vocabulary to alphabetical order after confirmation.

See also:
taxonomy_vocabulary_confirm_reset_alphabetical()

Definition at line 930 of file taxonomy.admin.inc.

References db_query(), drupal_set_message(), t(), and watchdog().

Referenced by taxonomy_overview_terms_submit().

Here is the call graph for this function:


Generated on Mon Jun 2 15:08:31 2008 for SimpleTest by  1.5.5