Documentation

TableCellStyle
in package

Tags
author

Yewhen Khoptynskyi khoptynskyi@gmail.com

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

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]

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>
Return values
array<string|int, string>

Search results