| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 258 lines (8 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| book_render() X-Ref |
| Menu callback; prints a listing of all books. |
| book_export($type, $nid) X-Ref |
| Menu callback; Generates various representation of a book page and its children. The function delegates the generation of output to helper functions. The function name is derived by prepending 'book_export_' to the given output type. So, e.g., a type of 'html' results in a call to the function book_export_html(). param: $type param: $nid return: |
| book_export_html($nid) X-Ref |
| This function is called by book_export() to generate HTML for export. The given node is /embedded to its absolute depth in a top level section/. For example, a child node with depth 2 in the hierarchy is contained in (otherwise empty) <div> elements corresponding to depth 0 and depth 1. This is intended to support WYSIWYG output - e.g., level 3 sections always look like level 3 sections, no matter their depth relative to the node selected to be exported as printer-friendly HTML. param: $nid return: |
| book_outline($node) X-Ref |
| Menu callback; show the outline form for a single node. |
| book_outline_form(&$form_state, $node) X-Ref |
| Build the form to handle all book outline operations via the outline tab. |
| book_remove_button_submit($form, &$form_state) X-Ref |
| Button submit function to redirect to removal confirm form. |
| book_outline_form_submit($form, &$form_state) X-Ref |
| Handles book outline form submissions from the outline tab. |
| book_remove_form(&$form_state, $node) X-Ref |
| Menu callback; builds a form to confirm removal of a node from the book. |
| book_remove_form_submit($form, &$form_state) X-Ref |
| Confirm form submit function to remove a node from the book. |
| book_form_update() X-Ref |
| Renders a new parent page select element when the book selection changes. This function is called via AJAX when the selected book is changed on a node or book outline form. It creates a new parent page select element, adds it to the cached form, and then returns the rendered element so it can be displayed on the form. return: |
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |