node.module
Версия 1.947.2.15 (checked in on 2009/02/16 at 14:39:40 by goba)
The core that allows content to be submitted to the site. Modules and scripts may programmatically submit nodes using the usual form API pattern.
Константы
Имя | Описание |
---|---|
NODE_BUILD_NORMAL | |
NODE_BUILD_PREVIEW | |
NODE_BUILD_PRINT | |
NODE_BUILD_RSS | |
NODE_BUILD_SEARCH_INDEX | |
NODE_BUILD_SEARCH_RESULT | |
NODE_NEW_LIMIT |
Функции
Имя | Описание |
---|---|
node_access | Устанавливает, может ли текущий пользователь выполнять заданные действия над определённой нодой. |
node_access_acquire_grants | This function will call module invoke to get a list of grants and then write them to the database. It is called at node save, and should be called by modules whenever something other than a node_save causes the permissions on a node to change. |
node_access_grants | Fetch an array of permission IDs granted to the given user ID. |
node_access_needs_rebuild | Устанавливает/снимает флаг перестройки права доступа ноды или возвращает текущее значение флага. |
node_access_rebuild | Rebuild the node access database. This is occasionally needed by modules that make system-wide changes to access levels. |
node_access_view_all_nodes | Determine whether the user has a global viewing grant for all nodes. |
node_access_write_grants | This function will write a list of grants to the database, deleting any pre-existing grants. If a realm is provided, it will only delete grants from that realm, but it will always delete a grant from the 'all' realm. Modules which utilize... |
node_action_info | Реализация hook_action_info(). |
node_assign_owner_action | Implementation of a configurable Drupal action. Assigns ownership of a node to a user. |
node_assign_owner_action_form | |
node_assign_owner_action_submit | |
node_assign_owner_action_validate | |
node_block | Реализация hook_block(). |
node_build_content | Builds a structured array representing the node's content. |
node_comment_mode | Retrieve the comment mode for the given node ID (none, read, or read/write). |
node_content_access | Реализация метода hook_access() |
node_content_form | Реализация hook_form(). |
node_cron | Реализация hook_cron(). |
node_db_rewrite_sql | Реализация hook_db_rewrite_sql(). |
node_delete | Удаляет ноду. |
node_feed | A generic function for generating RSS feeds from a set of nodes. |
node_forms | Implementation of hook_forms(). All node forms share the same form handler |
node_form_alter | Implementation of hook_form_alter(). |
node_get_types | Формирует список доступных типов нод и возвращает те из них, которые определены параметрами. |
node_help | Реализация hook_help(). |
node_hook | Determine whether a node hook exists. |
node_hook_info | Реализация hook_hook_info(). |
node_init | Реализация hook_init(). |
node_invoke | Invoke a node hook. |
node_invoke_nodeapi | Вызывает операцию hook_nodeapi() во всех модулях. |
node_last_changed | |
node_last_viewed | Retrieves the timestamp at which the current user last viewed the specified node. |
node_link | Реализация hook_link(). |
node_load | Загружает объект ноды из базы данных. |
node_make_sticky_action | Implementation of a Drupal action. Sets the sticky-at-top-of-list property of a node to 1. |
node_make_unsticky_action | Implementation of a Drupal action. Sets the sticky-at-top-of-list property of a node to 0. |
node_mark | Определяет тип маркера, относительно заданного времени, для заданной ноды. |
node_menu | Реализация hook_menu(). |
node_page_default | Menu callback; Generate a listing of promoted nodes. |
node_page_title | Title callback. |
node_page_view | Menu callback; view a single node. |
node_perm | Реализация hook_perm(). |
node_prepare | Применяет фильтры и создает стандартные элементы нод. |
node_promote_action | Реализация Drupal-действий (actions). Устанавливает значение свойства "Помещать на главную" материала равным 1. |
node_publish_action | Implementation of a Drupal action. Sets the status of a node to 1, meaning published. |
node_revision_list | Return a list of all the existing revision numbers. |
node_save | Сохраняет ноду в базе данных. |
node_save_action | Implementation of a Drupal action. Saves a node. |
node_search | Реализация hook_search(). |
node_search_validate | Form API callback for the search form. Registered in node_form_alter(). |
node_show | Generate a page displaying a single node, along with its comments. |
node_submit | Подготавливает ноду к записи и делает возможным вносить изменния другими модулями. |
node_tag_new | Устанавливает время последнего просмотра текущего пользователя для заданной ноды. |
node_teaser | Создаёт анонс для тела ноды. |
node_teaser_include_verify | Ensure value of 'teaser_include' checkbox is consistent with other form data. |
node_teaser_js | See if the user used JS to submit a teaser. |
node_theme | Реализация hook_theme(). |
node_title_list | Gather a listing of links to nodes. |
node_types_rebuild | Resets the database cache of node types, and saves all new or non-modified module-defined node types to the database. |
node_type_delete | Удаляет тип ноды из БД. |
node_type_save | Сохраняет тип ноды в базе данных. |
node_type_update_nodes | Updates all nodes of one type to be of another type. |
node_unpromote_action | Implementation of a Drupal action. Sets the promote property of a node to 0. |
node_unpublish_action | Implementation of a Drupal action. Sets the status of a node to 0, meaning unpublished. |
node_unpublish_by_keyword_action | Implementation of a configurable Drupal action. Unpublish a node if it contains a certain string. |
node_unpublish_by_keyword_action_form | |
node_unpublish_by_keyword_action_submit | |
node_update_index | Реализация hook_update_index(). |
node_user | Реализация hook_user(). |
node_validate | Perform validation checks on the given node. |
node_view | Генерирует вывод ноды. |
theme_node_list | Форматирует список ссылок на ноды. |
theme_node_log_message | Темизирует сообщения системного журнала. |
theme_node_search_admin | Theme the content ranking part of the search settings admin page. |
theme_node_submitted | Формат представления "Опубликовано _пользователем_ в _дата/время_" для каждой ноды |
_node_access_join_sql | Generate an SQL join clause for use in fetching a node listing. |
_node_access_rebuild_batch_finished | Post-processing for node_access_rebuild_batch. |
_node_access_rebuild_batch_operation | Batch operation for node_access_rebuild_batch. |
_node_access_where_sql | Generate an SQL where clause for use in fetching a node listing. |
_node_add_access | |
_node_index_node | Индексирует одну ноду. |
_node_revision_access | |
_node_save_revision | Helper function to save a revision with the uid of the current user. |
_node_types_build | Builds and returns the list of available node types. |
_node_type_set_defaults | Устанавливает значения по умолчанию, для типа нод, определенного через hook_node_info(). |