Version

1.1000 (checked in on 2008/12/03 at 16:32:22 by dries)

Description

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

Namesort iconDescription
NODE_BUILD_NORMALNode is being built before being viewed normally.
NODE_BUILD_PREVIEWNode is being built before being previewed.
NODE_BUILD_PRINTNode is being built before being printed.
NODE_BUILD_RSSNode is being built before being displayed as part of an RSS feed.
NODE_BUILD_SEARCH_INDEXNode is being built before being indexed by search module.
NODE_BUILD_SEARCH_RESULTNode is being built before being displayed as a search result.
NODE_NEW_LIMITNodes changed before this time are always marked as read.

Functions

Namesort iconDescription
DISABLED_node_query_alterImplementation of hook_query_alter(). @todo This doesn't quite work yet.
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_needs_rebuildFlag / unflag the node access grants for rebuilding, or read the current value of the flag.
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_action_infoImplementation of hook_action_info().
node_assign_owner_actionImplementation 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_blockImplementation of hook_block().
node_build_contentBuilds a structured array representing the node's content.
node_comment_modeRetrieve the comment mode for the given node ID (none, read, or read/write).
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_feedA generic function for generating RSS feeds from a set of nodes.
node_formsImplementation of hook_forms(). All node forms share the same form handler
node_form_alterImplementation of hook_form_alter().
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_hook_infoImplementation of hook_hook_info().
node_initImplementation of hook_init().
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_list_permissionsHelper function to generate standard node permission list for a given type.
node_loadLoad a node object from the database.
node_make_sticky_actionImplementation of a Drupal action. Sets the sticky-at-top-of-list property of a node to 1.
node_make_unsticky_actionImplementation of a Drupal action. Sets the sticky-at-top-of-list property of a node to 0.
node_markDecide on the type of marker to be displayed for a given node.
node_menuImplementation of hook_menu().
node_page_defaultMenu callback; Generate a listing of promoted nodes.
node_page_titleTitle callback.
node_page_viewMenu callback; view a single node.
node_permImplementation of hook_perm().
node_prepareApply filters and build the node's standard elements.
node_promote_actionImplementation of a Drupal action. Sets the promote property of a node to 1.
node_publish_actionImplementation of a Drupal action. Sets the status of a node to 1, meaning published.
node_rankingImplementation of hook_ranking().
node_revision_listReturn a list of all the existing revision numbers.
node_saveSave a node object into the database.
node_save_actionImplementation of a Drupal action. Saves a node.
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_teaserGenerate a teaser for a node body.
node_teaser_include_verifyEnsure value of "teaser_include" checkbox is consistent with other form data.
node_teaser_jsSee if the user used JS to submit a teaser.
node_themeImplementation of hook_theme().
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_set_defaultsSet the default values for a node type.
node_type_update_nodesUpdates all nodes of one type to be of another type.
node_unpromote_actionImplementation of a Drupal action. Sets the promote property of a node to 0.
node_unpublish_actionImplementation of a Drupal action. Sets the status of a node to 0, meaning unpublished.
node_unpublish_by_keyword_actionImplementation 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_indexImplementation of hook_update_index().
node_user_deleteImplementation of hook_user_delete().
node_validatePerform validation checks on the given node.
node_viewGenerate a display of the given node.
theme_node_listFormat a listing of links to nodes.
theme_node_log_messageTheme a log message.
theme_node_search_adminTheme the content ranking part of the search settings admin page.
theme_node_submittedFormat the "Submitted by username on date/time" for each node
_node_access_join_sqlGenerate an SQL join clause for use in fetching a node listing.
_node_access_rebuild_batch_finishedPost-processing for node_access_rebuild_batch.
_node_access_rebuild_batch_operationBatch operation for node_access_rebuild_batch.
_node_access_where_sqlGenerate an SQL where clause for use in fetching a node listing.
_node_add_access
_node_index_nodeIndex a single node.
_node_query_alter_where
_node_rankingsGather the rankings from the the hook_ranking implementations.
_node_revision_access
_node_save_revisionHelper function to save a revision with the uid of the current user.
_node_types_buildBuilds and returns the list of available node types.