[ Index ] |
|
Code source de Drupal 5.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 3050 lignes (110 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
node_help($section) X-Ref |
Implementation of hook_help(). |
node_cron() X-Ref |
Implementation of hook_cron(). |
node_title_list($result, $title = NULL) X-Ref |
Gather a listing of links to nodes. param: $result param: $title return: |
theme_node_list($items, $title = NULL) X-Ref |
Format a listing of links to nodes. |
node_tag_new($nid) X-Ref |
Update the 'last viewed' timestamp of the specified node for current user. |
node_last_viewed($nid) X-Ref |
Retrieves the timestamp at which the current user last viewed the specified node. |
node_mark($nid, $timestamp) X-Ref |
Decide on the type of marker to be displayed for a given node. param: $nid param: $timestamp return: |
node_teaser($body, $format = NULL) X-Ref |
Automatically generate a teaser for a node body in a given format. |
node_get_types($op = 'types', $node = NULL, $reset = FALSE) X-Ref |
Builds a list of available node types, and returns all of part of this list in the specified format. param: $op param: $node param: $reset return: |
node_types_rebuild() X-Ref |
Resets the database cache of node types, and saves all new or non-modified module-defined node types to the database. |
node_type_save($info) X-Ref |
Saves a node type to the database. param: $info return: |
node_type_delete($type) X-Ref |
Deletes a node type from the database. param: $type |
node_type_update_nodes($old_type, $type) X-Ref |
Updates all nodes of one type to be of another type. param: $old_type param: $type return: |
_node_types_build() X-Ref |
Builds and returns the list of available node types. The list of types is built by querying hook_node_info() in all modules, and by comparing this information with the node types in the {node_type} table. |
_node_type_set_defaults($info) X-Ref |
Set default values for a node type defined through hook_node_info(). |
node_hook(&$node, $hook) X-Ref |
Determine whether a node hook exists. param: &$node param: $hook return: |
node_invoke(&$node, $hook, $a2 = NULL, $a3 = NULL, $a4 = NULL) X-Ref |
Invoke a node hook. param: &$node param: $hook param: $a2, $a3, $a4 return: |
node_invoke_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) X-Ref |
Invoke a hook_nodeapi() operation in all modules. param: &$node param: $op param: $a3, $a4 return: |
node_load($param = array() X-Ref |
Load a node object from the database. param: $param param: $revision param: $reset return: |
node_save(&$node) X-Ref |
Save a node object into the database. |
node_view($node, $teaser = FALSE, $page = FALSE, $links = TRUE) X-Ref |
Generate a display of the given node. param: $node param: $teaser param: $page param: $links return: |
node_prepare($node, $teaser = FALSE) X-Ref |
Apply filters and build the node's standard elements. |
node_build_content($node, $teaser = FALSE, $page = FALSE) X-Ref |
Builds a structured array representing the node's content. param: $node param: $teaser param: $page return: |
node_show($node, $cid) X-Ref |
Generate a page displaying a single node, along with its comments. |
node_perm() X-Ref |
Implementation of hook_perm(). |
node_search($op = 'search', $keys = NULL) X-Ref |
Implementation of hook_search(). |
node_user($op, &$edit, &$user) X-Ref |
Implementation of hook_user(). |
theme_node_search_admin($form) X-Ref |
Pas de description |
node_configure() X-Ref |
Menu callback; presents general node configuration options. |
node_configure_validate($form_id, $form_values) X-Ref |
Form validate callback. |
node_configure_rebuild_confirm() X-Ref |
Menu callback: confirm rebuilding of permissions. |
node_configure_rebuild_confirm_submit($form_id, &$form) X-Ref |
Handler for wipe confirmation |
node_comment_mode($nid) X-Ref |
Retrieve the comment mode for the given node ID (none, read, or read/write). |
node_link($type, $node = NULL, $teaser = FALSE) X-Ref |
Implementation of hook_link(). |
node_menu($may_cache) X-Ref |
Implementation of hook_menu(). |
node_last_changed($nid) X-Ref |
Pas de description |
node_node_operations() X-Ref |
Implementation of hook_node_operations(). |
node_operations_publish($nodes) X-Ref |
Callback function for admin mass publishing nodes. |
node_operations_unpublish($nodes) X-Ref |
Callback function for admin mass unpublishing nodes. |
node_operations_promote($nodes) X-Ref |
Callback function for admin mass promoting nodes. |
node_operations_demote($nodes) X-Ref |
Callback function for admin mass demoting nodes. |
node_operations_sticky($nodes) X-Ref |
Callback function for admin mass editing nodes to be sticky. |
node_operations_unsticky($nodes) X-Ref |
Callback function for admin mass editing nodes to remove stickiness. |
node_filters() X-Ref |
List node administration filters that can be applied. |
node_build_filter_query() X-Ref |
Build query for node administration filters based on session. |
node_filter_form() X-Ref |
Return form for node administration filters. |
theme_node_filter_form($form) X-Ref |
Theme node administration filter form. |
theme_node_filters($form) X-Ref |
Theme node administration filter selector. |
node_filter_form_submit($form_id, $form_values) X-Ref |
Process result from node administration filter form. |
node_admin_nodes_submit($form_id, $form_values) X-Ref |
Submit the node administration update form. |
node_admin_nodes_validate($form_id, $form_values) X-Ref |
Pas de description |
node_admin_content() X-Ref |
Menu callback: content administration. |
node_admin_nodes() X-Ref |
Pas de description |
theme_node_admin_nodes($form) X-Ref |
Theme node administration overview. |
node_multiple_delete_confirm() X-Ref |
Pas de description |
node_multiple_delete_confirm_submit($form_id, $form_values) X-Ref |
Pas de description |
node_revision_overview($node) X-Ref |
Generate an overview table of older revisions of a node. |
node_revision_revert($nid, $revision) X-Ref |
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($node) X-Ref |
Ask for confirmation of the reversion to prevent against CSRF attacks. |
node_revision_revert_confirm_submit($form_id, $form_values) X-Ref |
Pas de description |
node_revision_delete($nid, $revision) X-Ref |
Delete the revision with specified revision number. A "delete revision" nodeapi event is invoked when a revision is deleted. |
node_revision_delete_confirm($node) X-Ref |
Ask confirmation for revision deletion to prevent against CSRF attacks. |
node_revision_delete_confirm_submit($form_id, $form_values) X-Ref |
Pas de description |
node_revision_list($node) X-Ref |
Return a list of all the existing revision numbers. |
node_admin_search() X-Ref |
Pas de description |
node_block($op = 'list', $delta = 0) X-Ref |
Implementation of hook_block(). |
node_feed($nodes = 0, $channel = array() X-Ref |
A generic function for generating RSS feeds from a set of nodes. param: $nodes param: $channel |
node_submit($node) X-Ref |
Prepare node for save and allow modules to make changes. |
node_validate($node, $form = array() X-Ref |
Perform validation checks on the given node. |
node_form_validate($form_id, $form_values, $form) X-Ref |
Pas de description |
node_object_prepare(&$node) X-Ref |
Pas de description |
node_form($node, $form_values = NULL) X-Ref |
Generate the node add/edit form array. |
node_form_add_preview($form) X-Ref |
Pas de description |
theme_node_form($form) X-Ref |
Pas de description |
node_add($type = NULL) X-Ref |
Present a node submission form or a set of links to such forms. |
node_preview($node) X-Ref |
Generate a node preview. |
theme_node_preview($node) X-Ref |
Display a node preview for display during node creation and editing. param: $node |
theme_node_log_message($log) X-Ref |
Pas de description |
node_form_submit($form_id, $form_values) X-Ref |
Pas de description |
node_delete_confirm($node) X-Ref |
Menu callback -- ask for confirmation of node deletion |
node_delete_confirm_submit($form_id, $form_values) X-Ref |
Execute node deletion |
node_delete($nid) X-Ref |
Delete a node. |
node_revisions() X-Ref |
Menu callback for revisions related activities. |
node_page_default($arg = NULL) X-Ref |
Menu callback; Generate a listing of promoted nodes. |
node_page_view($node, $cid = NULL) X-Ref |
Menu callback; view a single node. |
node_page_edit($node) X-Ref |
Menu callback; presents the node editing form, or redirects to delete confirmation. |
node_update_shutdown() X-Ref |
shutdown function to make sure we always mark the last node processed. |
node_update_index() X-Ref |
Implementation of hook_update_index(). |
node_form_alter($form_id, &$form) X-Ref |
Implementation of hook_form_alter(). |
node_search_validate($form_id, $form_values, $form) X-Ref |
Form API callback for the search form. Registered in node_form_alter(). |
node_access($op, $node = NULL) X-Ref |
Determine whether the current user may perform the given operation on the specified node. param: $op param: $node return: |
_node_access_join_sql($node_alias = 'n', $node_access_alias = 'na') X-Ref |
Generate an SQL join clause for use in fetching a node listing. param: $node_alias param: $node_access_alias return: |
_node_access_where_sql($op = 'view', $node_access_alias = 'na', $uid = NULL) X-Ref |
Generate an SQL where clause for use in fetching a node listing. param: $op param: $node_access_alias return: |
node_access_grants($op, $uid = NULL) X-Ref |
Fetch an array of permission IDs granted to the given user ID. The implementation here provides only the universal "all" grant. A node access module should implement hook_node_grants() to provide a grant list for the user. param: $op param: $uid return: |
node_access_view_all_nodes() X-Ref |
Determine whether the user has a global viewing grant for all nodes. |
node_db_rewrite_sql($query, $primary_table, $primary_field) X-Ref |
Implementation of hook_db_rewrite_sql |
node_access_acquire_grants($node) X-Ref |
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. This function is the only function that should write to the node_access table. param: $node |
node_access_write_grants($node, $grants, $realm = NULL, $delete = TRUE) X-Ref |
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_access can use this function when doing mass updates due to widespread permission changes. param: $node param: $grants param: $realm param: $delete |
node_access_rebuild() X-Ref |
Rebuild the node access database. This is occasionally needed by modules that make system-wide changes to access levels. |
node_content_access($op, $node) X-Ref |
Implementation of hook_access(). |
node_content_form($node) X-Ref |
Implementation of hook_form(). |
node_forms() X-Ref |
Implementation of hook_forms(). All node forms share the same form handler |
Généré le : Fri Nov 30 16:20:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |