[ Index ] |
|
Code source de Drupal 5.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 1002 lignes (36 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
book_node_info() X-Ref |
Implementation of hook_node_info(). |
book_perm() X-Ref |
Implementation of hook_perm(). |
book_access($op, $node) X-Ref |
Implementation of hook_access(). |
book_link($type, $node = NULL, $teaser = FALSE) X-Ref |
Implementation of hook_link(). |
book_menu($may_cache) X-Ref |
Implementation of hook_menu(). |
book_block($op = 'list', $delta = 0) X-Ref |
Implementation of hook_block(). Displays the book table of contents in a block when the current page is a single-node view of a book node. |
book_insert($node) X-Ref |
Implementation of hook_insert(). |
book_submit(&$node) X-Ref |
Implementation of hook_submit(). |
book_form(&$node) X-Ref |
Implementation of hook_form(). |
book_outline($nid) X-Ref |
Implementation of function book_outline() Handles all book outline operations. |
book_outline_submit($form_id, $form_values) X-Ref |
Handles book outline form submissions. |
book_location($node, $nodes = array() X-Ref |
Given a node, this function returns an array of 'book node' objects representing the path in the book tree from the root to the parent of the given node. param: $node return: |
book_location_down($node, $nodes = array() X-Ref |
Given a node, this function returns an array of 'book node' objects representing the path in the book tree from the given node down to the last sibling of it. param: $node return: |
book_prev($node) X-Ref |
Fetches the node object of the previous page of the book. |
book_next($node) X-Ref |
Fetches the node object of the next page of the book. |
book_content($node, $teaser = FALSE) X-Ref |
Returns the content of a given node. If $teaser if TRUE, returns the teaser rather than full content. Displays the most recently approved revision of a node (if any) unless we have to display this page in the context of the moderation queue. |
book_nodeapi(&$node, $op, $teaser, $page) X-Ref |
Implementation of hook_nodeapi(). Appends book navigation to all nodes in the book. |
theme_book_navigation($node) X-Ref |
Prepares the links to children (TOC) and forward/backward navigation for a node presented as a book page. |
book_toc_recurse($nid, $indent, $toc, $children, $exclude) X-Ref |
This is a helper function for book_toc(). |
book_toc($exclude = 0) X-Ref |
Returns an array of titles and nid entries of book pages in table of contents order. |
book_tree_recurse($nid, $depth, $children, $unfold = array() X-Ref |
This is a helper function for book_tree() |
book_tree($parent = 0, $depth = 3, $unfold = array() X-Ref |
Returns an HTML nested list (wrapped in a menu-class div) representing the book nodes as a tree. |
book_render() X-Ref |
Menu callback; prints a listing of all books. |
book_export($type = 'html', $nid = 0) X-Ref |
Menu callback; Generates various representation of a book page with all descendants and prints the requested representation to output. 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 |
book_export_html($nid, $depth) 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 param: depth return: |
theme_book_export_html($title, $content) X-Ref |
How the book's HTML export should be themed |
book_recurse($nid = 0, $depth = 1, $visit_pre, $visit_post) X-Ref |
Traverses the book tree. Applies the $visit_pre() callback to each node, is called recursively for each child of the node (in weight, title order). Finally appends the output of the $visit_post() callback to the output before returning the generated output. param: nid param: depth param: visit_pre param: visit_post return: |
book_node_visitor_html_pre($node, $depth, $nid) X-Ref |
Generates printer-friendly HTML for a node. This function is a 'pre-node' visitor function for book_recurse(). param: $node param: $depth param: $nid return: |
book_node_visitor_html_post($node, $depth) X-Ref |
Finishes up generation of printer-friendly HTML after visiting a node. This function is a 'post-node' visitor function for book_recurse(). |
_book_admin_table($nodes = array() X-Ref |
Pas de description |
_book_admin_table_tree($node, $depth) X-Ref |
Pas de description |
theme_book_admin_table($form) X-Ref |
Pas de description |
book_admin_edit($nid) X-Ref |
Display an administrative view of the hierarchy of a book. |
book_admin_orphan() X-Ref |
Menu callback; displays a listing of all orphaned book pages. |
book_admin_edit_submit($form_id, $form_values) X-Ref |
Pas de description |
book_admin($nid = 0) X-Ref |
Menu callback; displays the book administration page. |
book_admin_overview() X-Ref |
Returns an administrative overview of all books. |
book_help($section) X-Ref |
Implementation of hook_help(). |
Généré le : Fri Nov 30 16:20:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |