Elgg  Version 1.11
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($userelse
 

Variable Documentation

◆ $user

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

Definition at line 16 of file requestnewpassword.php.

◆ $username

$username = get_input('username')

Definition at line 9 of file requestnewpassword.php.

◆ else

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

Definition at line 23 of file requestnewpassword.php.