node.module

Version 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.

Constants

NameDescription
NODE_NEW_LIMIT

Functions

NameDescription
node_accessDetermine whether the current user may perform the given operation on the specified node.
node_access_acquire_grantsThis 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_grantsFetch an array of permission IDs granted to the given user ID.
node_access_rebuildRebuild the node access database. This is occasionally needed by modules that make system-wide changes to access levels.
node_access_view_all_nodesDetermine whether the user has a global viewing grant for all nodes.
node_access_write_grantsThis 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_addPresent a node submission form or a set of links to such forms.
node_admin_contentMenu callback: content administration.
node_admin_nodes
node_admin_nodes_submitSubmit the node administration update form.
node_admin_nodes_validate
node_admin_search
node_blockImplementation of hook_block().
node_build_contentBuilds a structured array representing the node's content.
node_build_filter_queryBuild query for node administration filters based on session.
node_comment_modeRetrieve the comment mode for the given node ID (none, read, or read/write).
node_configureMenu callback; presents general node configuration options.
node_configure_rebuild_confirmMenu callback: confirm rebuilding of permissions.
node_configure_rebuild_confirm_submitHandler for wipe confirmation
node_configure_validateForm validate callback.
node_content_accessImplementation of hook_access().
node_content_formImplementation of hook_form().
node_cronImplementation of hook_cron().
node_db_rewrite_sqlImplementation of hook_db_rewrite_sql
node_deleteDelete a node.
node_delete_confirmMenu callback -- ask for confirmation of node deletion
node_delete_confirm_submitExecute node deletion
node_feedA generic function for generating RSS feeds from a set of nodes.
node_filtersList node administration filters that can be applied.
node_filter_formReturn form for node administration filters.
node_filter_form_submitProcess result from node administration filter form.
node_formGenerate the node add/edit form array.
node_formsImplementation of hook_forms(). All node forms share the same form handler
node_form_add_preview
node_form_alterImplementation of hook_form_alter().
node_form_submit
node_form_validate
node_get_typesBuilds a list of available node types, and returns all of part of this list in the specified format.
node_helpImplementation of hook_help().
node_hookDetermine whether a node hook exists.
node_invokeInvoke a node hook.
node_invoke_nodeapiInvoke a hook_nodeapi() operation in all modules.
node_last_changed
node_last_viewedRetrieves the timestamp at which the current user last viewed the specified node.
node_linkImplementation of hook_link().
node_loadLoad a node object from the database.
node_markDecide on the type of marker to be displayed for a given node.
node_menuImplementation of hook_menu().
node_multiple_delete_confirm
node_multiple_delete_confirm_submit
node_node_operationsImplementation of hook_node_operations().
node_object_prepare
node_operations_demoteCallback function for admin mass demoting nodes.
node_operations_promoteCallback function for admin mass promoting nodes.
node_operations_publishCallback function for admin mass publishing nodes.
node_operations_stickyCallback function for admin mass editing nodes to be sticky.
node_operations_unpublishCallback function for admin mass unpublishing nodes.
node_operations_unstickyCallback function for admin mass editing nodes to remove stickiness.
node_page_defaultMenu callback; Generate a listing of promoted nodes.
node_page_editMenu callback; presents the node editing form, or redirects to delete confirmation.
node_page_viewMenu callback; view a single node.
node_permImplementation of hook_perm().
node_prepareApply filters and build the node's standard elements.
node_previewGenerate a node preview.
node_revisionsMenu callback for revisions related activities.
node_revision_deleteDelete the revision with specified revision number. A "delete revision" nodeapi event is invoked when a revision is deleted.
node_revision_delete_confirmAsk confirmation for revision deletion to prevent against CSRF attacks.
node_revision_delete_confirm_submit
node_revision_listReturn a list of all the existing revision numbers.
node_revision_overviewGenerate an overview table of older revisions of a node.
node_revision_revertRevert 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_confirmAsk for confirmation of the reversion to prevent against CSRF attacks.
node_revision_revert_confirm_submit
node_saveSave a node object into the database.
node_searchImplementation of hook_search().
node_search_validateForm API callback for the search form. Registered in node_form_alter().
node_showGenerate a page displaying a single node, along with its comments.
node_submitPrepare node for save and allow modules to make changes.
node_tag_newUpdate the 'last viewed' timestamp of the specified node for current user.
node_teaserAutomatically generate a teaser for a node body.
node_title_listGather a listing of links to nodes.
node_types_rebuildResets the database cache of node types, and saves all new or non-modified module-defined node types to the database.
node_type_deleteDeletes a node type from the database.
node_type_saveSaves a node type to the database.
node_type_update_nodesUpdates all nodes of one type to be of another type.
node_update_indexImplementation of hook_update_index().
node_update_shutdownshutdown function to make sure we always mark the last node processed.
node_userImplementation of hook_user().
node_validatePerform validation checks on the given node.
node_viewGenerate a display of the given node.
theme_node_admin_nodesTheme node administration overview.
theme_node_filtersTheme node administration filter selector.
theme_node_filter_formTheme node administration filter form.
theme_node_form
theme_node_listFormat a listing of links to nodes.
theme_node_log_message
theme_node_previewDisplay a node preview for display during node creation and editing.
theme_node_search_admin
_node_access_join_sqlGenerate an SQL join clause for use in fetching a node listing.
_node_access_where_sqlGenerate an SQL where clause for use in fetching a node listing.
_node_types_buildBuilds and returns the list of available node types.
_node_type_set_defaultsSet default values for a node type defined through hook_node_info().
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.