Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/user/edit.php File Reference

Go to the source code of this file.

Namespaces

namespace  user

Variables

 $userid = optional_param('id', $USER->id, PARAM_INT)
 $course = optional_param('course', SITEID, PARAM_INT)
 $cancelemailchange = optional_param('cancelemailchange', 0, PARAM_INT)
 $personalcontext = get_context_instance(CONTEXT_USER, $user->id)
 $editoroptions
 $user = file_prepare_standard_editor($user, 'description', $editoroptions, $personalcontext, 'user', 'profile', 0)
 $userform = new user_edit_form(null, array('editoroptions'=>$editoroptions))
 $email_changed = false
 $streditmyprofile = get_string('editmyprofile')
 Display page header.
 $strparticipants = get_string('participants')
 $userfullname = fullname($user, true)

Variable Documentation

$cancelemailchange = optional_param('cancelemailchange', 0, PARAM_INT)

Definition at line 37 of file edit.php.

Definition at line 36 of file edit.php.

$editoroptions
Initial value:
 array(
    'maxfiles'   => EDITOR_UNLIMITED_FILES,
    'maxbytes'   => $CFG->maxbytes,
    'trusttext'  => false,
    'forcehttps' => false,
    'context'    => $personalcontext
)

Definition at line 147 of file edit.php.

$email_changed = false

Definition at line 163 of file edit.php.

$personalcontext = get_context_instance(CONTEXT_USER, $user->id)

Definition at line 105 of file edit.php.

$streditmyprofile = get_string('editmyprofile')

Display page header.

Definition at line 273 of file edit.php.

$strparticipants = get_string('participants')

Definition at line 274 of file edit.php.

$user = file_prepare_standard_editor($user, 'description', $editoroptions, $personalcontext, 'user', 'profile', 0)

Definition at line 155 of file edit.php.

$userform = new user_edit_form(null, array('editoroptions'=>$editoroptions))

Definition at line 156 of file edit.php.

$userfullname = fullname($user, true)

Definition at line 275 of file edit.php.

Definition at line 35 of file edit.php.

 All Data Structures Namespaces Files Functions Variables Enumerations