Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Namespaces | Variables
useradd.php File Reference

Go to the source code of this file.


 Save menu items.


 $username = get_input('username')
 $password = get_input('password', null, false)
 $password2 = get_input('password2', null, false)
 $email = get_input('email')
 $name = get_input('name')
 $language = get_input('language', elgg_get_config('language'))
 $admin = get_input('admin')
if(is_array($admin)) $autogen_password = get_input('autogen_password')
if($autogen_password) if($username==
''||$password== ''||$password2==
''||$email== ''||$name==
'') if(strcmp($password,
if($guid) else

Variable Documentation

$admin = get_input('admin')

Definition at line 22 of file useradd.php.

if (is_array($admin)) $autogen_password = get_input('autogen_password')

Definition at line 27 of file useradd.php.

Definition at line 15 of file useradd.php.

Definition at line 20 of file useradd.php.

Definition at line 16 of file useradd.php.

$password = get_input('password', null, false)

Definition at line 13 of file useradd.php.

$password2 = get_input('password2', null, false)

Definition at line 14 of file useradd.php.

Definition at line 12 of file useradd.php.

if ($guid) else
Initial value:
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
Display an error on next page load.
Definition: elgglib.php:452

Definition at line 76 of file useradd.php.

if ($autogen_password) if ($username== ''||$password== ''||$password2== ''||$email== ''||$name== '') if (strcmp($password, $password2)!=0) try
Initial value:
Definition: useradd.php:16
Definition: useradd.php:12
Removes an admin notice.
register_user($username, $password, $name, $email, $allow_multiple_emails=false)
Registers a user, returning false if the username already exists.
Definition: users.php:316
Definition: useradd.php:15
Definition: useradd.php:13

Definition at line 45 of file useradd.php.