Index: taxonomy.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/taxonomy/taxonomy.module,v
retrieving revision 1.414
diff -u -r1.414 taxonomy.module
--- taxonomy.module	27 Jan 2008 17:55:15 -0000	1.414
+++ taxonomy.module	13 Feb 2008 21:15:25 -0000
@@ -191,6 +191,25 @@
   return $items;
 }
 
+/**
+ * Save a vocabulary
+ *
+ *
+ * Available variables:
+ * @edit Array (
+ * 'vid' => int -- ID for updating the vocabulary.
+ * 'name' => String -- Vocabulary name: The name for this vocabulary. Example: "Topic".
+ * 'multiple' => (0/1) -- Allows nodes to have more than one term from this vocabulary (always true for free tagging).
+ * 'description' => String – Description of the vocabulary; can be used by modules. (optional)
+ * 'help' => String – Instructions to present to the user when choosing a term. (optional)
+ * 'required' => (0/1) -- If enabled, every node must have at least one term in this vocabulary.
+ * 'hierarchy' => (0/1) -- Allows a tree-like hierarchy between terms of this vocabulary.
+ * 'relations' => (0/1) – Allows related terms in this vocabulary.
+ * 'tags' => (0/1) – Content is categorized by typing terms instead of choosing from a list. (optional)
+ * 'weight' => number (-10 <-> 10) the displayed weight of the taxonomy. In listings, the heavier vocabularies will sink and the lighter vocabularies will be positioned nearer the top. (optional)
+ * 'module' => String – Name of module the Vocabulary is used
+ * 'nodes' => Array ("nodetype" => (0/1) disabled or active in the node) A list of node types this taxonomy applies too.
+ */
 function taxonomy_save_vocabulary(&$edit) {
   $edit['nodes'] = empty($edit['nodes']) ? array() : $edit['nodes'];
 

