C:/drupal/modules/node/node.pages.inc File Reference

Go to the source code of this file.


Functions

 node_page_edit ($node)
 node_add_page ()
 theme_node_add_list ($content)
 node_add ($type)
 node_form_validate ($form, &$form_state)
 node_object_prepare (&$node)
 node_form (&$form_state, $node)
 node_body_field (&$node, $label, $word_count)
 node_form_delete_submit ($form, &$form_state)
 node_form_build_preview ($form, &$form_state)
 theme_node_form ($form)
 node_preview ($node)
 theme_node_preview ($node)
 node_form_submit ($form, &$form_state)
 node_form_submit_build_node ($form, &$form_state)
 node_delete_confirm (&$form_state, $node)
 node_delete_confirm_submit ($form, &$form_state)
 node_revision_overview ($node)
 node_revision_revert_confirm ($form_state, $node_revision)
 node_revision_revert_confirm_submit ($form, &$form_state)
 node_revision_delete_confirm ($form_state, $node_revision)
 node_revision_delete_confirm_submit ($form, &$form_state)


Detailed Description

Page callbacks for adding, editing, deleting, and revisions management for content.

Definition in file node.pages.inc.


Function Documentation

node_add ( type  ) 

Present a node submission form or a set of links to such forms.

Definition at line 47 of file node.pages.inc.

References $output, $type, drupal_get_form(), drupal_set_title(), name, and t().

Here is the call graph for this function:

node_add_page (  ) 

Definition at line 18 of file node.pages.inc.

References $content, menu_get_item(), and theme().

Here is the call graph for this function:

node_body_field ( &$  node,
label,
word_count 
)

Return a node body field, with format and teaser.

Definition at line 259 of file node.pages.inc.

References check_plain(), and t().

Here is the call graph for this function:

node_delete_confirm ( &$  form_state,
node 
)

Menu callback -- ask for confirmation of node deletion

Definition at line 494 of file node.pages.inc.

References nid, and t().

Here is the call graph for this function:

node_delete_confirm_submit ( form,
&$  form_state 
)

Execute node deletion

Definition at line 512 of file node.pages.inc.

node_form ( &$  form_state,
node 
)

Generate the node add/edit form array.

Definition at line 93 of file node.pages.inc.

References format_date(), name, nid, node_object_prepare(), t(), and variable_get().

Here is the call graph for this function:

node_form_build_preview ( form,
&$  form_state 
)

Definition at line 313 of file node.pages.inc.

References node_form_submit_build_node(), and node_preview().

Here is the call graph for this function:

node_form_delete_submit ( form,
&$  form_state 
)

Button sumit function: handle the 'Delete' button on the node form.

Definition at line 302 of file node.pages.inc.

References drupal_get_destination(), and nid.

Here is the call graph for this function:

node_form_submit ( form,
&$  form_state 
)

Definition at line 447 of file node.pages.inc.

References drupal_set_message(), l(), nid, node_form_submit_build_node(), t(), and watchdog().

Here is the call graph for this function:

node_form_submit_build_node ( form,
&$  form_state 
)

Build a node by processing submitted form values and prepare for a form rebuild.

Definition at line 480 of file node.pages.inc.

References form_execute_handlers().

Referenced by node_form_build_preview(), and node_form_submit().

Here is the call graph for this function:

node_form_validate ( form,
&$  form_state 
)

Definition at line 64 of file node.pages.inc.

node_object_prepare ( &$  node  ) 

Definition at line 68 of file node.pages.inc.

References format_date(), nid, and variable_get().

Referenced by node_form().

Here is the call graph for this function:

node_page_edit ( node  ) 

Menu callback; presents the node editing form, or redirects to delete confirmation.

Definition at line 13 of file node.pages.inc.

References drupal_get_form(), and drupal_set_title().

Here is the call graph for this function:

node_preview ( node  ) 

Generate a node preview.

Definition at line 362 of file node.pages.inc.

References $output, drupal_set_title(), form_get_errors(), name, t(), and theme().

Referenced by node_form_build_preview().

Here is the call graph for this function:

node_revision_delete_confirm ( form_state,
node_revision 
)

Definition at line 588 of file node.pages.inc.

References format_date(), nid, and t().

Here is the call graph for this function:

node_revision_delete_confirm_submit ( form,
&$  form_state 
)

Definition at line 593 of file node.pages.inc.

References db_query(), db_result(), drupal_set_message(), format_date(), nid, t(), and watchdog().

Here is the call graph for this function:

node_revision_overview ( node  ) 

Generate an overview table of older revisions of a node.

Definition at line 523 of file node.pages.inc.

References $header, $row, drupal_set_title(), format_date(), l(), t(), and theme().

Here is the call graph for this function:

node_revision_revert_confirm ( form_state,
node_revision 
)

Ask for confirmation of the reversion to prevent against CSRF attacks.

Definition at line 568 of file node.pages.inc.

References format_date(), nid, and t().

Here is the call graph for this function:

node_revision_revert_confirm_submit ( form,
&$  form_state 
)

Definition at line 573 of file node.pages.inc.

References drupal_set_message(), format_date(), module_exists(), t(), and watchdog().

Here is the call graph for this function:


Generated on Mon Jun 2 15:08:25 2008 for SimpleTest by  1.5.5