Contact
extends BaseController
in package
Base controller
Table of Contents
- $pdo : mixed
- $spotify : Spotify
- $address : string
- $addressId : int
- $email : string
- $emailId : int
- $phone : string
- $phoneId : int
- __construct() : mixed
- admin() : void
- Admin view for contact details
- get() : void
- post() : void
- initializeSession() : void
- Initialize session
- isLoggedIn() : bool
- Check if admin is logged in
- getContactDetails() : void
- Get contact details from database
Properties
$pdo
protected
mixed
$pdo
$spotify
protected
Spotify
$spotify
$address
private
string
$address
address
$addressId
private
int
$addressId
private
string
$email
$emailId
private
int
$emailId
$phone
private
string
$phone
$phoneId
private
int
$phoneId
Methods
__construct()
public
__construct() : mixed
Return values
mixed —admin()
Admin view for contact details
public
admin() : void
Return values
void —get()
public
get() : void
Return values
void —post()
public
post() : 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 —getContactDetails()
Get contact details from database
private
getContactDetails() : void