Aplus Framework Theme Library

Theme
in package

Table of Contents

$body  : string
$lang  : string
$metas  : array<string|int, mixed>
$scripts  : array<string|int, mixed>
$styles  : array<string|int, mixed>
$title  : string
addMeta()  : $this
appendScripts()  : $this
appendStyles()  : $this
escape()  : string
getBody()  : string
getLang()  : string
getMetas()  : array<string|int, mixed>|array<string|int, array<string|int, mixed>>
getScripts()  : array<string|int, mixed>|array<string|int, string>
getStyles()  : array<string|int, mixed>|array<string|int, string>
getTitle()  : string
prependScripts()  : $this
prependStyles()  : $this
renderMetas()  : string
renderScripts()  : string
renderStyles()  : string
renderTitle()  : string
setBody()  : $this
setLang()  : $this
setMetas()  : $this
setScripts()  : $this
setStyles()  : $this
setTitle()  : $this

Properties

$body

protected string $body = ''

$lang

protected string $lang = 'en'

$metas

protected array<string|int, mixed> $metas = []

$scripts

protected array<string|int, mixed> $scripts = []

$styles

protected array<string|int, mixed> $styles = []

$title

protected string $title = ''

Methods

addMeta()

public addMeta(array<string|int, mixed>|array<string|int, string> $meta) : $this
Parameters
$meta : array<string|int, mixed>|array<string|int, string>
Return values
$this

appendScripts()

public appendScripts(array<string|int, mixed>|array<string|int, string> $scripts) : $this
Parameters
$scripts : array<string|int, mixed>|array<string|int, string>
Return values
$this

appendStyles()

public appendStyles(array<string|int, mixed>|array<string|int, string> $styles) : $this
Parameters
$styles : array<string|int, mixed>|array<string|int, string>
Return values
$this

escape()

public escape(string|null $text[, string $encoding = 'UTF-8' ]) : string
Parameters
$text : string|null
$encoding : string = 'UTF-8'
Return values
string

getBody()

public getBody() : string
Return values
string

getLang()

public getLang() : string
Return values
string

getMetas()

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

getScripts()

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

getStyles()

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

getTitle()

public getTitle() : string
Return values
string

prependScripts()

public prependScripts(array<string|int, mixed>|array<string|int, string> $scripts) : $this
Parameters
$scripts : array<string|int, mixed>|array<string|int, string>
Return values
$this

prependStyles()

public prependStyles(array<string|int, mixed>|array<string|int, string> $styles) : $this
Parameters
$styles : array<string|int, mixed>|array<string|int, string>
Return values
$this

renderMetas()

public renderMetas() : string
Return values
string

renderScripts()

public renderScripts() : string
Return values
string

renderStyles()

public renderStyles() : string
Return values
string

renderTitle()

public renderTitle() : string
Return values
string

setBody()

public setBody(string $body) : $this
Parameters
$body : string
Return values
$this

setLang()

public setLang(string $lang) : $this
Parameters
$lang : string
Return values
$this

setMetas()

public setMetas(array<string|int, mixed>|array<string|int, array<string|int, mixed>> $metas) : $this
Parameters
$metas : array<string|int, mixed>|array<string|int, array<string|int, mixed>>
Return values
$this

setScripts()

public setScripts(array<string|int, mixed>|array<string|int, string> $scripts) : $this
Parameters
$scripts : array<string|int, mixed>|array<string|int, string>
Return values
$this

setStyles()

public setStyles(array<string|int, mixed>|array<string|int, string> $styles) : $this
Parameters
$styles : array<string|int, mixed>|array<string|int, string>
Return values
$this

setTitle()

public setTitle(string $title) : $this
Parameters
$title : string
Return values
$this

Search results