Documentation

TableStyle
in package

Table of Contents

Constants

TABLE_STYLE_DARK1  = 'TableStyleDark1'
TABLE_STYLE_DARK10  = 'TableStyleDark10'
TABLE_STYLE_DARK11  = 'TableStyleDark11'
TABLE_STYLE_DARK2  = 'TableStyleDark2'
TABLE_STYLE_DARK3  = 'TableStyleDark3'
TABLE_STYLE_DARK4  = 'TableStyleDark4'
TABLE_STYLE_DARK5  = 'TableStyleDark5'
TABLE_STYLE_DARK6  = 'TableStyleDark6'
TABLE_STYLE_DARK7  = 'TableStyleDark7'
TABLE_STYLE_DARK8  = 'TableStyleDark8'
TABLE_STYLE_DARK9  = 'TableStyleDark9'
TABLE_STYLE_LIGHT1  = 'TableStyleLight1'
TABLE_STYLE_LIGHT10  = 'TableStyleLight10'
TABLE_STYLE_LIGHT11  = 'TableStyleLight11'
TABLE_STYLE_LIGHT12  = 'TableStyleLight12'
TABLE_STYLE_LIGHT13  = 'TableStyleLight13'
TABLE_STYLE_LIGHT14  = 'TableStyleLight14'
TABLE_STYLE_LIGHT15  = 'TableStyleLight15'
TABLE_STYLE_LIGHT16  = 'TableStyleLight16'
TABLE_STYLE_LIGHT17  = 'TableStyleLight17'
TABLE_STYLE_LIGHT18  = 'TableStyleLight18'
TABLE_STYLE_LIGHT19  = 'TableStyleLight19'
TABLE_STYLE_LIGHT2  = 'TableStyleLight2'
TABLE_STYLE_LIGHT20  = 'TableStyleLight20'
TABLE_STYLE_LIGHT21  = 'TableStyleLight21'
TABLE_STYLE_LIGHT3  = 'TableStyleLight3'
TABLE_STYLE_LIGHT4  = 'TableStyleLight4'
TABLE_STYLE_LIGHT5  = 'TableStyleLight5'
TABLE_STYLE_LIGHT6  = 'TableStyleLight6'
TABLE_STYLE_LIGHT7  = 'TableStyleLight7'
TABLE_STYLE_LIGHT8  = 'TableStyleLight8'
TABLE_STYLE_LIGHT9  = 'TableStyleLight9'
TABLE_STYLE_MEDIUM1  = 'TableStyleMedium1'
TABLE_STYLE_MEDIUM10  = 'TableStyleMedium10'
TABLE_STYLE_MEDIUM11  = 'TableStyleMedium11'
TABLE_STYLE_MEDIUM12  = 'TableStyleMedium12'
TABLE_STYLE_MEDIUM13  = 'TableStyleMedium13'
TABLE_STYLE_MEDIUM14  = 'TableStyleMedium14'
TABLE_STYLE_MEDIUM15  = 'TableStyleMedium15'
TABLE_STYLE_MEDIUM16  = 'TableStyleMedium16'
TABLE_STYLE_MEDIUM17  = 'TableStyleMedium17'
TABLE_STYLE_MEDIUM18  = 'TableStyleMedium18'
TABLE_STYLE_MEDIUM19  = 'TableStyleMedium19'
TABLE_STYLE_MEDIUM2  = 'TableStyleMedium2'
TABLE_STYLE_MEDIUM20  = 'TableStyleMedium20'
TABLE_STYLE_MEDIUM21  = 'TableStyleMedium21'
TABLE_STYLE_MEDIUM22  = 'TableStyleMedium22'
TABLE_STYLE_MEDIUM23  = 'TableStyleMedium23'
TABLE_STYLE_MEDIUM24  = 'TableStyleMedium24'
TABLE_STYLE_MEDIUM25  = 'TableStyleMedium25'
TABLE_STYLE_MEDIUM26  = 'TableStyleMedium26'
TABLE_STYLE_MEDIUM27  = 'TableStyleMedium27'
TABLE_STYLE_MEDIUM28  = 'TableStyleMedium28'
TABLE_STYLE_MEDIUM3  = 'TableStyleMedium3'
TABLE_STYLE_MEDIUM4  = 'TableStyleMedium4'
TABLE_STYLE_MEDIUM5  = 'TableStyleMedium5'
TABLE_STYLE_MEDIUM6  = 'TableStyleMedium6'
TABLE_STYLE_MEDIUM7  = 'TableStyleMedium7'
TABLE_STYLE_MEDIUM8  = 'TableStyleMedium8'
TABLE_STYLE_MEDIUM9  = 'TableStyleMedium9'
TABLE_STYLE_NONE  = ''

Properties

$showColumnStripes  : bool
Show Column Stripes.
$showFirstColumn  : bool
Show First Column.
$showLastColumn  : bool
Show Last Column.
$showRowStripes  : bool
Show Row Stripes.
$table  : Table|null
Table.
$theme  : string
Theme.

Methods

__construct()  : mixed
Create a new Table Style.
getShowColumnStripes()  : bool
Get show Column Stripes.
getShowFirstColumn()  : bool
Get show First Column.
getShowLastColumn()  : bool
Get show Last Column.
getShowRowStripes()  : bool
Get show Row Stripes.
getTable()  : Table|null
Get this Style's Table.
getTheme()  : string
Get theme.
setShowColumnStripes()  : self
Set show Column Stripes.
setShowFirstColumn()  : self
Set show First Column.
setShowLastColumn()  : self
Set show Last Column.
setShowRowStripes()  : self
Set show Row Stripes.
setTable()  : self
Set this Style's Table.
setTheme()  : self
Set theme.

Constants

TABLE_STYLE_DARK1

public mixed TABLE_STYLE_DARK1 = 'TableStyleDark1'

TABLE_STYLE_DARK10

public mixed TABLE_STYLE_DARK10 = 'TableStyleDark10'

TABLE_STYLE_DARK11

public mixed TABLE_STYLE_DARK11 = 'TableStyleDark11'

TABLE_STYLE_DARK2

public mixed TABLE_STYLE_DARK2 = 'TableStyleDark2'

TABLE_STYLE_DARK3

public mixed TABLE_STYLE_DARK3 = 'TableStyleDark3'

TABLE_STYLE_DARK4

public mixed TABLE_STYLE_DARK4 = 'TableStyleDark4'

TABLE_STYLE_DARK5

public mixed TABLE_STYLE_DARK5 = 'TableStyleDark5'

TABLE_STYLE_DARK6

public mixed TABLE_STYLE_DARK6 = 'TableStyleDark6'

TABLE_STYLE_DARK7

public mixed TABLE_STYLE_DARK7 = 'TableStyleDark7'

TABLE_STYLE_DARK8

public mixed TABLE_STYLE_DARK8 = 'TableStyleDark8'

TABLE_STYLE_DARK9

public mixed TABLE_STYLE_DARK9 = 'TableStyleDark9'

TABLE_STYLE_LIGHT1

public mixed TABLE_STYLE_LIGHT1 = 'TableStyleLight1'

TABLE_STYLE_LIGHT10

public mixed TABLE_STYLE_LIGHT10 = 'TableStyleLight10'

TABLE_STYLE_LIGHT11

public mixed TABLE_STYLE_LIGHT11 = 'TableStyleLight11'

TABLE_STYLE_LIGHT12

public mixed TABLE_STYLE_LIGHT12 = 'TableStyleLight12'

TABLE_STYLE_LIGHT13

public mixed TABLE_STYLE_LIGHT13 = 'TableStyleLight13'

TABLE_STYLE_LIGHT14

public mixed TABLE_STYLE_LIGHT14 = 'TableStyleLight14'

TABLE_STYLE_LIGHT15

public mixed TABLE_STYLE_LIGHT15 = 'TableStyleLight15'

TABLE_STYLE_LIGHT16

public mixed TABLE_STYLE_LIGHT16 = 'TableStyleLight16'

TABLE_STYLE_LIGHT17

public mixed TABLE_STYLE_LIGHT17 = 'TableStyleLight17'

TABLE_STYLE_LIGHT18

public mixed TABLE_STYLE_LIGHT18 = 'TableStyleLight18'

TABLE_STYLE_LIGHT19

public mixed TABLE_STYLE_LIGHT19 = 'TableStyleLight19'

TABLE_STYLE_LIGHT2

public mixed TABLE_STYLE_LIGHT2 = 'TableStyleLight2'

TABLE_STYLE_LIGHT20

public mixed TABLE_STYLE_LIGHT20 = 'TableStyleLight20'

TABLE_STYLE_LIGHT21

public mixed TABLE_STYLE_LIGHT21 = 'TableStyleLight21'

TABLE_STYLE_LIGHT3

public mixed TABLE_STYLE_LIGHT3 = 'TableStyleLight3'

TABLE_STYLE_LIGHT4

public mixed TABLE_STYLE_LIGHT4 = 'TableStyleLight4'

TABLE_STYLE_LIGHT5

public mixed TABLE_STYLE_LIGHT5 = 'TableStyleLight5'

TABLE_STYLE_LIGHT6

public mixed TABLE_STYLE_LIGHT6 = 'TableStyleLight6'

TABLE_STYLE_LIGHT7

public mixed TABLE_STYLE_LIGHT7 = 'TableStyleLight7'

TABLE_STYLE_LIGHT8

public mixed TABLE_STYLE_LIGHT8 = 'TableStyleLight8'

TABLE_STYLE_LIGHT9

public mixed TABLE_STYLE_LIGHT9 = 'TableStyleLight9'

TABLE_STYLE_MEDIUM1

public mixed TABLE_STYLE_MEDIUM1 = 'TableStyleMedium1'

TABLE_STYLE_MEDIUM10

public mixed TABLE_STYLE_MEDIUM10 = 'TableStyleMedium10'

TABLE_STYLE_MEDIUM11

public mixed TABLE_STYLE_MEDIUM11 = 'TableStyleMedium11'

TABLE_STYLE_MEDIUM12

public mixed TABLE_STYLE_MEDIUM12 = 'TableStyleMedium12'

TABLE_STYLE_MEDIUM13

public mixed TABLE_STYLE_MEDIUM13 = 'TableStyleMedium13'

TABLE_STYLE_MEDIUM14

public mixed TABLE_STYLE_MEDIUM14 = 'TableStyleMedium14'

TABLE_STYLE_MEDIUM15

public mixed TABLE_STYLE_MEDIUM15 = 'TableStyleMedium15'

TABLE_STYLE_MEDIUM16

public mixed TABLE_STYLE_MEDIUM16 = 'TableStyleMedium16'

TABLE_STYLE_MEDIUM17

public mixed TABLE_STYLE_MEDIUM17 = 'TableStyleMedium17'

TABLE_STYLE_MEDIUM18

public mixed TABLE_STYLE_MEDIUM18 = 'TableStyleMedium18'

TABLE_STYLE_MEDIUM19

public mixed TABLE_STYLE_MEDIUM19 = 'TableStyleMedium19'

TABLE_STYLE_MEDIUM2

public mixed TABLE_STYLE_MEDIUM2 = 'TableStyleMedium2'

TABLE_STYLE_MEDIUM20

public mixed TABLE_STYLE_MEDIUM20 = 'TableStyleMedium20'

TABLE_STYLE_MEDIUM21

public mixed TABLE_STYLE_MEDIUM21 = 'TableStyleMedium21'

TABLE_STYLE_MEDIUM22

public mixed TABLE_STYLE_MEDIUM22 = 'TableStyleMedium22'

TABLE_STYLE_MEDIUM23

public mixed TABLE_STYLE_MEDIUM23 = 'TableStyleMedium23'

TABLE_STYLE_MEDIUM24

public mixed TABLE_STYLE_MEDIUM24 = 'TableStyleMedium24'

TABLE_STYLE_MEDIUM25

public mixed TABLE_STYLE_MEDIUM25 = 'TableStyleMedium25'

TABLE_STYLE_MEDIUM26

public mixed TABLE_STYLE_MEDIUM26 = 'TableStyleMedium26'

TABLE_STYLE_MEDIUM27

public mixed TABLE_STYLE_MEDIUM27 = 'TableStyleMedium27'

TABLE_STYLE_MEDIUM28

public mixed TABLE_STYLE_MEDIUM28 = 'TableStyleMedium28'

TABLE_STYLE_MEDIUM3

public mixed TABLE_STYLE_MEDIUM3 = 'TableStyleMedium3'

TABLE_STYLE_MEDIUM4

public mixed TABLE_STYLE_MEDIUM4 = 'TableStyleMedium4'

TABLE_STYLE_MEDIUM5

public mixed TABLE_STYLE_MEDIUM5 = 'TableStyleMedium5'

TABLE_STYLE_MEDIUM6

public mixed TABLE_STYLE_MEDIUM6 = 'TableStyleMedium6'

TABLE_STYLE_MEDIUM7

public mixed TABLE_STYLE_MEDIUM7 = 'TableStyleMedium7'

TABLE_STYLE_MEDIUM8

public mixed TABLE_STYLE_MEDIUM8 = 'TableStyleMedium8'

TABLE_STYLE_MEDIUM9

public mixed TABLE_STYLE_MEDIUM9 = 'TableStyleMedium9'

TABLE_STYLE_NONE

public mixed TABLE_STYLE_NONE = ''

Properties

$showColumnStripes

Show Column Stripes.

private bool $showColumnStripes = false

$showFirstColumn

Show First Column.

private bool $showFirstColumn = false

$showLastColumn

Show Last Column.

private bool $showLastColumn = false

$showRowStripes

Show Row Stripes.

private bool $showRowStripes = false

Methods

__construct()

Create a new Table Style.

public __construct([string $theme = self::TABLE_STYLE_MEDIUM2 ]) : mixed
Parameters
$theme : string = self::TABLE_STYLE_MEDIUM2

(e.g. TableStyle::TABLE_STYLE_MEDIUM2)

getShowColumnStripes()

Get show Column Stripes.

public getShowColumnStripes() : bool
Return values
bool

getShowFirstColumn()

Get show First Column.

public getShowFirstColumn() : bool
Return values
bool

getShowLastColumn()

Get show Last Column.

public getShowLastColumn() : bool
Return values
bool

getShowRowStripes()

Get show Row Stripes.

public getShowRowStripes() : bool
Return values
bool

getTheme()

Get theme.

public getTheme() : string
Return values
string

setShowColumnStripes()

Set show Column Stripes.

public setShowColumnStripes(bool $showColumnStripes) : self
Parameters
$showColumnStripes : bool
Return values
self

setShowFirstColumn()

Set show First Column.

public setShowFirstColumn(bool $showFirstColumn) : self
Parameters
$showFirstColumn : bool
Return values
self

setShowLastColumn()

Set show Last Column.

public setShowLastColumn(bool $showLastColumn) : self
Parameters
$showLastColumn : bool
Return values
self

setShowRowStripes()

Set show Row Stripes.

public setShowRowStripes(bool $showRowStripes) : self
Parameters
$showRowStripes : bool
Return values
self

setTable()

Set this Style's Table.

public setTable([Table|null $table = null ]) : self
Parameters
$table : Table|null = null
Return values
self

setTheme()

Set theme.

public setTheme(string $theme) : self
Parameters
$theme : string
Return values
self

        
On this page

Search results