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

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)


Detailed Description

Admin page callbacks for the book module.

Definition in file book.admin.inc.


Function Documentation

_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.

See also:
book_admin_edit()

Definition at line 133 of file book.admin.inc.

References _book_admin_table_tree().

Referenced by book_admin_edit().

Here is the call graph for this function:

_book_admin_table_tree ( tree,
&$  form 
)

Recursive helper to build the main table in the book administration page form.

See also:
book_admin_edit()

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.

See also:
book_admin_edit()

menu_overview_form_submit()

Definition at line 94 of file book.admin.inc.

References $row, drupal_set_message(), element_children(), l(), menu_link_save(), nid, t(), and watchdog().

Here is the call graph for this function:

book_admin_overview (  ) 

Returns an administrative overview of all books.

Definition at line 12 of file book.admin.inc.

References l(), t(), and theme().

Here is the call graph for this function:

book_admin_settings_validate ( form,
&$  form_state 
)

Validate the book settings form.

See also:
book_admin_settings()

Definition at line 58 of file book.admin.inc.

References form_set_error(), and t().

Here is the call graph for this function:


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