Documentation

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

$address

private string $address

address

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
Return values
void —

Search results