TitleBlock
extends TitleBlock
in package
Class created by Core/Base/PluginDeploy
Tags
Table of Contents
- $css : string
- $extensions : array<string|int, mixed>
- Stores class extensions.
- $footer : bool
- $style : string
- $text : string
- $type : string
- $verificode : string
- __call() : mixed
- Executes the first matched extension.
- __construct() : mixed
- addExtension() : mixed
- pipe() : mixed
- pipeFalse() : bool
- render() : string
- setVerificode() : void
Properties
$css
protected
string
$css
$extensions
Stores class extensions.
protected
static array<string|int, mixed>
$extensions
= []
$footer
protected
bool
$footer
= false
$style
protected
string
$style
$text
protected
string
$text
$type
protected
string
$type
$verificode
protected
string
$verificode
Methods
__call()
Executes the first matched extension.
public
__call(string $name[, array<string|int, mixed> $arguments = [] ]) : mixed
Parameters
- $name : string
- $arguments : array<string|int, mixed> = []
Tags
Return values
mixed —__construct()
public
__construct(string $text[, string $type = 'h2' ][, string $css = '' ][, string $style = '' ]) : mixed
Parameters
- $text : string
- $type : string = 'h2'
- $css : string = ''
- $style : string = ''
Return values
mixed —addExtension()
public
static addExtension(mixed $extension) : mixed
Parameters
- $extension : mixed
Return values
mixed —pipe()
public
pipe(string $name, array<string|int, mixed> ...$arguments) : mixed
Parameters
- $name : string
- $arguments : array<string|int, mixed>
Return values
mixed —pipeFalse()
public
pipeFalse(string $name, array<string|int, mixed> ...$arguments) : bool
Parameters
- $name : string
- $arguments : array<string|int, mixed>
Return values
bool —render()
public
abstract render([bool $footer = false ]) : string
Parameters
- $footer : bool = false
Return values
string —setVerificode()
public
setVerificode(string $code) : void
Parameters
- $code : string