RowFooter
extends VisualItem
in package
Description of RowFooter
Tags
Table of Contents
- $class : string
- $id : string
- Identifies the object with a defined name in the view
- $name : string
- Name defined in the view as key
- $children : array<string|int, mixed>
- $i18n : Translator
- $uniqueId : int
- $level : int
- Selected security level.
- $token : string
- __construct() : mixed
- addButton() : mixed
- getColorFromOption() : string
- Calculate color from option configuration
- getLevel() : int
- getToken() : string
- render() : string
- setLevel() : mixed
- setToken() : mixed
- applyOperatorFromOption() : bool
- colorToClass() : string
- combineClasses() : string
- css() : string
- Returns equivalent css class to $class. To extend in plugins.
- getUniqueId() : int
- renderCardFooter() : string
- renderCardHeader() : string
- renderGroup() : string
Properties
$class
public
string
$class
$id
Identifies the object with a defined name in the view
public
string
$id
$name
Name defined in the view as key
public
string
$name
$children
protected
array<string|int, mixed>
$children
$i18n
protected
static Translator
$i18n
Tags
$uniqueId
protected
static int
$uniqueId
= -1
$level
Selected security level.
private
static int
$level
= 0
$token
private
static string
$token
= ''
Methods
__construct()
public
__construct(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
Return values
mixed —addButton()
public
addButton(array<string|int, mixed> $btnArray) : mixed
Parameters
- $btnArray : array<string|int, mixed>
Return values
mixed —getColorFromOption()
Calculate color from option configuration
public
getColorFromOption(array<string|int, string> $option, mixed $value, string $prefix) : string
Parameters
- $option : array<string|int, string>
- $value : mixed
- $prefix : string
Return values
string —getLevel()
public
static getLevel() : int
Return values
int —getToken()
public
static getToken() : string
Return values
string —render()
public
render(string $viewName[, string $jsFunction = '' ][, object &$controller = null ]) : string
Parameters
- $viewName : string
- $jsFunction : string = ''
- $controller : object = null
Return values
string —setLevel()
public
static setLevel(int $new) : mixed
Parameters
- $new : int
Return values
mixed —setToken()
public
static setToken(string $token) : mixed
Parameters
- $token : string
Return values
mixed —applyOperatorFromOption()
protected
applyOperatorFromOption(array<string|int, string> $option, mixed $value) : bool
Parameters
- $option : array<string|int, string>
- $value : mixed
Return values
bool —colorToClass()
protected
colorToClass(string $color, string $prefix) : string
Parameters
- $color : string
- $prefix : string
Return values
string —combineClasses()
protected
combineClasses(array<string|int, mixed> ...$classes) : string
Parameters
- $classes : array<string|int, mixed>
Return values
string —css()
Returns equivalent css class to $class. To extend in plugins.
protected
css(string $class) : string
Parameters
- $class : string
Return values
string —getUniqueId()
protected
getUniqueId() : int
Return values
int —renderCardFooter()
protected
renderCardFooter(array<string|int, mixed> $group) : string
Parameters
- $group : array<string|int, mixed>
Return values
string —renderCardHeader()
protected
renderCardHeader(array<string|int, mixed> $group) : string
Parameters
- $group : array<string|int, mixed>
Return values
string —renderGroup()
protected
renderGroup(array<string|int, mixed> $group, string $viewName, string $jsFunction[, object &$controller = null ]) : string
Parameters
- $group : array<string|int, mixed>
- $viewName : string
- $jsFunction : string
- $controller : object = null