node.module
Версия 1.776.2.33 (checked in on 2009/01/14 at 23:32:14 by drumm)
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_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_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_add | Present a node submission form or a set of links to such forms. |
node_admin_content | Menu callback: content administration. |
node_admin_nodes | |
node_admin_nodes_submit | Submit the node administration update form. |
node_admin_nodes_validate | |
node_admin_search | |
node_block | Реализация hook_block(). |
node_build_content | Builds a structured array representing the node's content. |
node_build_filter_query | Build query for node administration filters based on session. |
node_comment_mode | Retrieve the comment mode for the given node ID (none, read, or read/write). |
node_configure | Menu callback; presents general node configuration options. |
node_configure_rebuild_confirm | Menu callback: confirm rebuilding of permissions. |
node_configure_rebuild_confirm_submit | Handler for wipe confirmation |
node_configure_validate | Form validate callback. |
node_content_access | Реализация метода hook_access() |
node_content_form | Реализация hook_form(). |
node_cron | Реализация hook_cron(). |
node_db_rewrite_sql | Реализация hook_db_rewrite_sql(). |
node_delete | Delete a node. |
node_delete_confirm | Menu callback -- ask for confirmation of node deletion |
node_delete_confirm_submit | Execute node deletion |
node_feed | A generic function for generating RSS feeds from a set of nodes. |
node_filters | List node administration filters that can be applied. |
node_filter_form | Return form for node administration filters. |
node_filter_form_submit | Process result from node administration filter form. |
node_form | Generate the node add/edit form array. |
node_forms | Implementation of hook_forms(). All node forms share the same form handler |
node_form_add_preview | |
node_form_alter | Implementation of hook_form_alter(). |
node_form_submit | |
node_form_validate | |
node_get_types | Формирует список доступных типов нод и возвращает те из них, которые определены параметрами. |
node_help | Реализация hook_help(). |
node_hook | Determine whether a node hook exists. |
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_mark | Определяет тип маркера, относительно заданного времени, для заданной ноды. |
node_menu | Реализация hook_menu(). |
node_multiple_delete_confirm | |
node_multiple_delete_confirm_submit | |
node_node_operations | Implementation of hook_node_operations(). |
node_object_prepare | |
node_operations_demote | Callback function for admin mass demoting nodes. |
node_operations_promote | Callback function for admin mass promoting nodes. |
node_operations_publish | Callback function for admin mass publishing nodes. |
node_operations_sticky | Callback function for admin mass editing nodes to be sticky. |
node_operations_unpublish | Callback function for admin mass unpublishing nodes. |
node_operations_unsticky | Callback function for admin mass editing nodes to remove stickiness. |
node_page_default | Menu callback; Generate a listing of promoted nodes. |
node_page_edit | Menu callback; presents the node editing form, or redirects to delete confirmation. |
node_page_view | Menu callback; view a single node. |
node_perm | Реализация hook_perm(). |
node_prepare | Применяет фильтры и создает стандартные элементы нод. |
node_preview | Generate a node preview. |
node_revisions | Menu callback for revisions related activities. |
node_revision_delete | Delete the revision with specified revision number. A 'delete revision' nodeapi event is invoked when a revision is deleted. |
node_revision_delete_confirm | Ask confirmation for revision deletion to prevent against CSRF attacks. |
node_revision_delete_confirm_submit | |
node_revision_list | Return a list of all the existing revision numbers. |
node_revision_overview | Generate an overview table of older revisions of a node. |
node_revision_revert | Revert to the revision with the specified revision number. A node and nodeapi 'update' event is triggered (via the node_save() call) when a revision is reverted. |
node_revision_revert_confirm | Ask for confirmation of the reversion to prevent against CSRF attacks. |
node_revision_revert_confirm_submit | |
node_save | Сохраняет ноду в базе данных. |
node_search | Implementation of 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 | Чтобы автоматически создать teaser для ноды body. |
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_update_index | Реализация hook_update_index(). |
node_update_shutdown | shutdown function to make sure we always mark the last node processed. |
node_user | Реализация hook_user(). |
node_validate | Perform validation checks on the given node. |
node_view | Генерирует вывод ноды. |
theme_node_admin_nodes | Theme node administration overview. |
theme_node_filters | Theme node administration filter selector. |
theme_node_filter_form | Theme node administration filter form. |
theme_node_form | |
theme_node_list | Форматирует список ссылок на ноды. |
theme_node_log_message | Темизирует сообщения системного журнала. |
theme_node_preview | Отображает предпросмотр ноды во время ее создания и редактирования. |
theme_node_search_admin | |
_node_access_join_sql | Generate an SQL join clause for use in fetching a node listing. |
_node_access_where_sql | Generate an SQL where clause for use in fetching a node listing. |
_node_types_build | Builds and returns the list of available node types. |
_node_type_set_defaults | Устанавливает значения по умолчанию, для типа нод, определенного через hook_node_info(). |