Admin
extends BaseController
in package
Base controller
Table of Contents
- $pdo : mixed
- $spotify : Spotify
- __construct() : mixed
- authenticate() : void
- Authenticate admin
- faq() : void
- Return faq page
- home() : void
- Return admin dashboard
- login() : void
- Return login page
- logout() : void
- Logout admin
- messages() : void
- Return messages page
- resetPassword() : void
- Return password reset page
- updatePassword() : void
- Update admin password
- initializeSession() : void
- Initialize session
- isLoggedIn() : bool
- Check if admin is logged in
Properties
$pdo
protected
mixed
$pdo
$spotify
protected
Spotify
$spotify
Methods
__construct()
public
__construct() : mixed
Return values
mixed —authenticate()
Authenticate admin
public
authenticate() : void
Return values
void —faq()
Return faq page
public
faq() : void
Return values
void —home()
Return admin dashboard
public
home() : void
Return values
void —login()
Return login page
public
login() : void
Return values
void —logout()
Logout admin
public
logout() : void
Return values
void —messages()
Return messages page
public
messages() : void
Return values
void —resetPassword()
Return password reset page
public
resetPassword() : void
Return values
void —updatePassword()
Update admin password
public
updatePassword() : void
Return values
void —initializeSession()
Initialize session
protected
initializeSession() : void
Return values
void —isLoggedIn()
Check if admin is logged in
protected
isLoggedIn() : bool