book.module

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.

Версия 1.454.2.6 (checked in on 2009/02/25 at 11:47:37 by goba)

Allows users to structure the pages of a site in a hierarchy or outline.

Функции

ИмяОписание
book_blockРеализация hook_block().
book_build_active_trailBuild an active trail to show in the breadcrumb.
book_childrenFormat the menu links for the child pages of the current page.
book_export_traverseTraverse the book tree to build printable or exportable output.
book_form_alterImplementation of hook_form_alter(). Adds the book fieldset to the node form. See alsobook_pick_book_submit()
book_form_node_delete_confirm_alterФункция изменения формы подтверждения единичного удаления ноды.
book_get_booksВозвращает массив всех книг.
book_get_flat_menuGet the book menu tree for a page, and return it as a linear array.
book_helpРеализация hook_help().
book_initРеализация hook_init(). Добавляет CSS модуля book.
book_linkРеализация hook_link().
book_link_loadLike menu_link_load(), but adds additional data from the {book} table.
book_menuРеализация hook_menu().
book_menu_nameGenerate the corresponding menu name from a book ID.
book_menu_subtree_dataGet the data representing a subtree of the book hierarchy.
book_nextFetches the menu link for the next page of the book.
book_nodeapiImplementation of hook_nodeapi().
book_node_exportGenerates printer-friendly HTML for a node. See alsobook_export_traverse()
book_node_typeРеализация hook_node_type().
book_permРеализация hook_perm().
book_prevFetches the menu link for the previous page of the book.
book_themeРеализация hook_theme().
book_tocReturns an array of book pages in table of contents order.
book_type_is_allowedDetermine if a given node type is in the list of types allowed for books.
book_update_bidUpdate the bid for a page and its children when it is moved to a new book.
template_preprocess_book_export_htmlProcess variables for book-export-html.tpl.php.
template_preprocess_book_navigationProcess variables for book-navigation.tpl.php.
template_preprocess_book_node_export_htmlProcess variables for book-node-export-html.tpl.php.
theme_book_title_linkGenerate the HTML output for a link to a book title when used as a block title. Генерирует вывод HTML-кода для заголовка книги, при использовании в качестве заголовка блока.
_book_add_form_elementsBuild the common elements of the book form for the node and outline forms.
_book_flatten_menuRecursive helper function for book_get_flat_menu().
_book_link_defaultsReturn an array with default values for a book link.
_book_outline_accessMenu item access callback - determine if the outline tab is accessible.
_book_outline_remove_accessMenu item access callback - determine if the user can remove nodes from the outline.
_book_parent_depth_limitFind the depth limit for items in the parent select.
_book_parent_selectBuild the parent selection form element for the node form or outline tab
_book_toc_recurseРекурсивная вспомогательная функция для book_toc().
_book_update_outlineCommon helper function to handles additions and updates to the book outline.
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему