Home
extends BaseController
in package
Base controller
Table of Contents
- $pdo : mixed
- $spotify : Spotify
- __construct() : mixed
- get() : void
- Return index page
- initializeSession() : void
- Initialize session
- isLoggedIn() : bool
- Check if admin is logged in
- getActiveConcerts() : array<string|int, Concert>
- Get all active concerts
Properties
$pdo
protected
mixed
$pdo
$spotify
protected
Spotify
$spotify
Methods
__construct()
public
__construct() : mixed
Return values
mixed —get()
Return index page
public
get() : void
Return values
void —initializeSession()
Initialize session
protected
initializeSession() : void
Return values
void —isLoggedIn()
Check if admin is logged in
protected
isLoggedIn() : bool
Return values
bool —getActiveConcerts()
Get all active concerts
private
getActiveConcerts() : array<string|int, Concert>