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

Go to the source code of this file.


Functions

 user_autocomplete ($string= '')
 user_pass ()
 user_pass_validate ($form, &$form_state)
 user_pass_submit ($form, &$form_state)
 user_pass_reset (&$form_state, $uid, $timestamp, $hashed_pass, $action=NULL)
 user_logout ()
 user_view ($account)
 template_preprocess_user_profile (&$variables)
 template_preprocess_user_profile_item (&$variables)
 template_preprocess_user_profile_category (&$variables)
 user_edit ($account, $category= 'account')
 user_profile_form ($form_state, $account, $category= 'account')
 user_profile_form_validate ($form, &$form_state)
 user_profile_form_submit ($form, &$form_state)
 user_edit_delete_submit ($form, &$form_state)
 user_confirm_delete (&$form_state, $account)
 user_confirm_delete_submit ($form, &$form_state)
 user_edit_validate ($form, &$form_state)
 user_edit_submit ($form, &$form_state)
 user_page ()


Detailed Description

User page callback file for the user module.

Definition in file user.pages.inc.


Function Documentation

template_preprocess_user_profile ( &$  variables  ) 

Process variables for user-profile.tpl.php.

The $variables array contains the following arguments:

  • $account

See also:
user-picture.tpl.php

Definition at line 167 of file user.pages.inc.

References content, drupal_render(), and element_children().

Here is the call graph for this function:

template_preprocess_user_profile_category ( &$  variables  ) 

Process variables for user-profile-category.tpl.php.

The $variables array contains the following arguments:

  • $element

See also:
user-profile-category.tpl.php

Definition at line 204 of file user.pages.inc.

References check_plain(), and drupal_attributes().

Here is the call graph for this function:

template_preprocess_user_profile_item ( &$  variables  ) 

Process variables for user-profile-item.tpl.php.

The $variables array contains the following arguments:

  • $element

See also:
user-profile-item.tpl.php

Definition at line 187 of file user.pages.inc.

References drupal_attributes().

Here is the call graph for this function:

user_autocomplete ( string = ''  ) 

Menu callback; Retrieve a JSON object containing autocomplete suggestions for existing users.

Definition at line 12 of file user.pages.inc.

References $result, check_plain(), db_fetch_object(), db_query_range(), drupal_json(), and name.

Here is the call graph for this function:

user_confirm_delete_submit ( form,
&$  form_state 
)

Submit function for the confirm form for user deletion.

Definition at line 317 of file user.pages.inc.

References drupal_set_message(), name, and t().

Here is the call graph for this function:

user_edit_delete_submit ( form,
&$  form_state 
)

Submit function for the 'Delete' button on the user edit form.

Definition at line 287 of file user.pages.inc.

References drupal_get_destination().

Here is the call graph for this function:

user_edit_submit ( form,
&$  form_state 
)

Definition at line 336 of file user.pages.inc.

References cache_clear_all(), drupal_set_message(), and t().

Here is the call graph for this function:

user_edit_validate ( form,
&$  form_state 
)

Definition at line 326 of file user.pages.inc.

References form_set_error(), t(), and watchdog().

Here is the call graph for this function:

user_logout (  ) 

Menu callback; logs the current user out, and redirects to the home page.

Definition at line 131 of file user.pages.inc.

References drupal_anonymous_user(), drupal_goto(), module_invoke_all(), name, and watchdog().

Referenced by _menu_site_is_offline().

Here is the call graph for this function:

user_page (  ) 

Access callback for path /user.

Displays user profile if user is logged in, or login form for anonymous users.

Definition at line 356 of file user.pages.inc.

References drupal_get_form(), menu_execute_active_handler(), and menu_set_active_item().

Here is the call graph for this function:

user_pass_reset ( &$  form_state,
uid,
timestamp,
hashed_pass,
action = NULL 
)

Menu callback; process one time login link and redirects to the user page on success.

Definition at line 76 of file user.pages.inc.

References drupal_access_denied(), drupal_goto(), drupal_set_message(), format_date(), name, t(), url(), and watchdog().

Here is the call graph for this function:

user_pass_submit ( form,
&$  form_state 
)

Definition at line 60 of file user.pages.inc.

References drupal_set_message(), name, t(), and watchdog().

Here is the call graph for this function:

user_pass_validate ( form,
&$  form_state 
)

Definition at line 44 of file user.pages.inc.

References $name, form_set_error(), form_set_value(), and t().

Here is the call graph for this function:

user_profile_form_submit ( form,
&$  form_state 
)

Submit function for the user account and profile editing form.

Definition at line 270 of file user.pages.inc.

References cache_clear_all(), drupal_set_message(), and t().

Here is the call graph for this function:

user_profile_form_validate ( form,
&$  form_state 
)

Validation function for the user account and profile editing form.

Definition at line 257 of file user.pages.inc.

References form_set_error(), t(), and watchdog().

Here is the call graph for this function:

user_view ( account  ) 

Menu callback; Displays a user or user profile page.

Definition at line 149 of file user.pages.inc.

References check_plain(), drupal_set_title(), name, and theme().

Here is the call graph for this function:


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