FacturaScripts

TableBlock extends BaseBlock
in package
Uses ExtensionsTrait

Description of TableBlock

Tags
author

Carlos Garcia Gomez [email protected]

author

Daniel Fernández Giménez [email protected]

Table of Contents

$css  : string
$extensions  : array<string|int, mixed>
Stores class extensions.
$footer  : bool
$header  : array<string|int, mixed>
$rows  : array<string|int, mixed>
$style  : string
$verificode  : string
__call()  : mixed
Executes the first matched extension.
__construct()  : mixed
addExtension()  : mixed
pipe()  : mixed
pipeFalse()  : bool
render()  : string
setVerificode()  : void
renderHeaders()  : string
renderRows()  : string

Properties

$extensions

Stores class extensions.

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

$header

protected array<string|int, mixed> $header

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
throws
BadMethodCallException
Return values
mixed

__construct()

public __construct(array<string|int, mixed> $header, array<string|int, mixed> $rows[, string $css = '' ][, string $style = '' ]) : mixed
Parameters
$header : array<string|int, mixed>
$rows : array<string|int, mixed>
$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 render([bool $footer = false ]) : string
Parameters
$footer : bool = false
Return values
string

setVerificode()

public setVerificode(string $code) : void
Parameters
$code : string
Return values
void

renderHeaders()

protected renderHeaders() : string
Return values
string

renderRows()

protected renderRows() : string
Return values
string

Search results