TableCellStyle
in package
Tags
Table of Contents
- DEFAULT_ALIGN = 'left'
- $alignMap : mixed
- $options : mixed
- $tagOptions : mixed
- __construct() : mixed
- getCellFormat() : string|null
- getOptions() : array<string|int, mixed>
- getPadByAlign() : mixed
- getTagOptions() : array<string|int, string>
- Gets options we need for tag for example fg, bg.
Constants
DEFAULT_ALIGN
public
mixed
DEFAULT_ALIGN
= 'left'
Properties
$alignMap
private
mixed
$alignMap
= ['left' => STR_PAD_RIGHT, 'center' => STR_PAD_BOTH, 'right' => STR_PAD_LEFT]
$options
private
mixed
$options
= ['fg' => 'default', 'bg' => 'default', 'options' => null, 'align' => self::DEFAULT_ALIGN, 'cellFormat' => null]
$tagOptions
private
mixed
$tagOptions
= ['fg', 'bg', 'options']
Methods
__construct()
public
__construct([array<string|int, mixed> $options = [] ]) : mixed
Parameters
- $options : array<string|int, mixed> = []
Return values
mixed —getCellFormat()
public
getCellFormat() : string|null
Return values
string|null —getOptions()
public
getOptions() : array<string|int, mixed>
Return values
array<string|int, mixed> —getPadByAlign()
public
getPadByAlign() : mixed
Return values
mixed —getTagOptions()
Gets options we need for tag for example fg, bg.
public
getTagOptions() : array<string|int, string>