Go to the source code of this file.
Functions | |
book_admin_overview () | |
book_admin_settings () | |
book_admin_settings_validate ($form, &$form_state) | |
book_admin_edit ($form_state, $node) | |
book_admin_edit_submit ($form, &$form_state) | |
_book_admin_table ($node) | |
_book_admin_table_tree ($tree, &$form) | |
theme_book_admin_table ($form) | |
_book_admin_sort_tree (&$tree) | |
_book_admin_compare ($a, $b) |
Definition in file book.admin.inc.
_book_admin_compare | ( | $ | a, | |
$ | b | |||
) |
Used by uasort() in _book_admin_sort_tree() to compare items in a book tree.
Definition at line 247 of file book.admin.inc.
_book_admin_sort_tree | ( | &$ | tree | ) |
Recursive helper to sort each layer of a book tree by weight.
Definition at line 235 of file book.admin.inc.
_book_admin_table | ( | $ | node | ) |
Build the table portion of the form for the book administration page.
Definition at line 133 of file book.admin.inc.
References _book_admin_table_tree().
Referenced by book_admin_edit().
_book_admin_table_tree | ( | $ | tree, | |
&$ | form | |||
) |
Recursive helper to build the main table in the book administration page form.
Definition at line 153 of file book.admin.inc.
Referenced by _book_admin_table().
book_admin_edit_submit | ( | $ | form, | |
&$ | form_state | |||
) |
Handle submission of the book administrative page form.
This function takes care to save parent menu items before their children. Saving menu items in the incorrect order can break the menu tree.
Definition at line 94 of file book.admin.inc.
References $row, drupal_set_message(), element_children(), l(), menu_link_save(), nid, t(), and watchdog().
book_admin_overview | ( | ) |
Returns an administrative overview of all books.
Definition at line 12 of file book.admin.inc.
References l(), t(), and theme().
book_admin_settings_validate | ( | $ | form, | |
&$ | form_state | |||
) |
Validate the book settings form.
Definition at line 58 of file book.admin.inc.
References form_set_error(), and t().