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

Go to the source code of this file.

Namespaces

 Elgg\Core
 Activate a plugin or plugins.
 

Variables

 $username = get_input('username')
 
if(strpos($username,
'@')!==false &&($users=get_user_by_email($username))) 
$user = get_user_by_username($username)
 
if($user) else
 

Variable Documentation

if (strpos($username, '@')!==false &&($users=get_user_by_email($username))) $user = get_user_by_username($username)

Definition at line 16 of file requestnewpassword.php.

Definition at line 9 of file requestnewpassword.php.

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

Definition at line 23 of file requestnewpassword.php.