Login
extends Model
in package
Login Class
Table of Contents
- $db : Database
- Contains the Database instance
- __construct() : mixed
- Constructor
- __destruct() : mixed
- Destructor
- getLoginData() : array<string|int, mixed>
- Get user data to login
- setNewDb() : void
- Creates a new Database object
Properties
$db
Contains the Database instance
protected
Database
$db
Methods
__construct()
Constructor
public
__construct() : mixed
Return values
mixed —__destruct()
Destructor
public
__destruct() : mixed
Return values
mixed —getLoginData()
Get user data to login
public
getLoginData(string $user_email) : array<string|int, mixed>
Parameters
- $user_email : string
Return values
array<string|int, mixed> —setNewDb()
Creates a new Database object
private
setNewDb() : void