libraries/Users/BUsers.php
public function getUserByEmail($email) {
		$list = $this->itemsFilter(['email' => $email, 'limit' => 1]);
		if (empty($list)) {
			return NULL;
		}
		$user = reset($list);
		return $user;
	}
public function getUserByEmail($email) {
		$list = $this->itemsFilter(['email' => $email, 'limit' => 1]);
		if (empty($list)) {
			return NULL;
		}
		$user = reset($list);
		return $user;
	}
public function getUserByEmail ( $ email ) { $ list = $ this -> itemsFilter ( [ 'email' => $ email , 'limit' => 1 ] ) ; if ( empty ( $ list ) ) { return NULL ; } $ user = reset ( $ list ) ; return $ user ; }
Get user By email
@param $email
@return BUser|null
Get user By email