Documentation

Bootstrap extends Section
in package

Table of Contents

Properties

$section  : string
$appBase  : string
$config  : Config
$lang  : Lang
$language  : Language
$request  : Request
$user  : User

Methods

__construct()  : mixed
getAppBase()  : string
Returns app base directory (with leading slash)
getDefalutSettings()  : array<string|int, mixed>
Return section's default settings
getSectionBase()  : string
Returns section directory (with leading slash)
getSectionData()  : array<string|int, mixed>
Returns section's bootstrap data
addSectionData()  : void
Adds section bootstrap data
bootstrapAdmin()  : void
bootstrapDashboard()  : void
bootstrapWebroot()  : void

Properties

Methods

getAppBase()

Returns app base directory (with leading slash)

public getAppBase() : string
Return values
string

getDefalutSettings()

Return section's default settings

public getDefalutSettings() : array<string|int, mixed>
Return values
array<string|int, mixed>

getSectionBase()

Returns section directory (with leading slash)

public getSectionBase() : string
Return values
string

getSectionData()

Returns section's bootstrap data

public getSectionData() : array<string|int, mixed>
Return values
array<string|int, mixed>

addSectionData()

Adds section bootstrap data

protected addSectionData(string $k, int|float|string|array<string|int, mixed>|bool|null $data) : void
Parameters
$k : string
$data : int|float|string|array<string|int, mixed>|bool|null

bootstrapAdmin()

private bootstrapAdmin() : void

bootstrapDashboard()

private bootstrapDashboard() : void

bootstrapWebroot()

private bootstrapWebroot() : void

        
On this page

Search results