Documentation

TableStyle
in package

Defines the styles for a Table.

Tags
author

Fabien Potencier fabien@symfony.com

author

Саша Стаменковић umpirsky@gmail.com

Table of Contents

Properties

$borderFormat  : mixed
$cellHeaderFormat  : mixed
$cellRowContentFormat  : mixed
$cellRowFormat  : mixed
$crossingChar  : mixed
$horizontalBorderChar  : mixed
$paddingChar  : mixed
$padType  : mixed
$verticalBorderChar  : mixed

Methods

getBorderFormat()  : string
Gets table border format.
getCellHeaderFormat()  : string
Gets header cell format.
getCellRowContentFormat()  : string
Gets row cell content format.
getCellRowFormat()  : string
Gets row cell format.
getCrossingChar()  : string
Gets crossing character.
getHorizontalBorderChar()  : string
Gets horizontal border character.
getPaddingChar()  : string
Gets padding character, used for cell padding.
getPadType()  : int
Gets cell padding type.
getVerticalBorderChar()  : string
Gets vertical border character.
setBorderFormat()  : $this
Sets table border format.
setCellHeaderFormat()  : $this
Sets header cell format.
setCellRowContentFormat()  : $this
Sets row cell content format.
setCellRowFormat()  : $this
Sets row cell format.
setCrossingChar()  : $this
Sets crossing character.
setHorizontalBorderChar()  : $this
Sets horizontal border character.
setPaddingChar()  : $this
Sets padding character, used for cell padding.
setPadType()  : $this
Sets cell padding type.
setVerticalBorderChar()  : $this
Sets vertical border character.

Properties

$borderFormat

private mixed $borderFormat = '%s'

$cellHeaderFormat

private mixed $cellHeaderFormat = '<info>%s</info>'

$cellRowContentFormat

private mixed $cellRowContentFormat = ' %s '

$cellRowFormat

private mixed $cellRowFormat = '%s'

$horizontalBorderChar

private mixed $horizontalBorderChar = '-'

$verticalBorderChar

private mixed $verticalBorderChar = '|'

Methods

getBorderFormat()

Gets table border format.

public getBorderFormat() : string
Return values
string

getCellHeaderFormat()

Gets header cell format.

public getCellHeaderFormat() : string
Return values
string

getCellRowContentFormat()

Gets row cell content format.

public getCellRowContentFormat() : string
Return values
string

getCellRowFormat()

Gets row cell format.

public getCellRowFormat() : string
Return values
string

getCrossingChar()

Gets crossing character.

public getCrossingChar() : string
Return values
string

$crossingChar

getHorizontalBorderChar()

Gets horizontal border character.

public getHorizontalBorderChar() : string
Return values
string

getPaddingChar()

Gets padding character, used for cell padding.

public getPaddingChar() : string
Return values
string

getPadType()

Gets cell padding type.

public getPadType() : int
Return values
int

getVerticalBorderChar()

Gets vertical border character.

public getVerticalBorderChar() : string
Return values
string

setBorderFormat()

Sets table border format.

public setBorderFormat(string $borderFormat) : $this
Parameters
$borderFormat : string
Return values
$this

setCellHeaderFormat()

Sets header cell format.

public setCellHeaderFormat(string $cellHeaderFormat) : $this
Parameters
$cellHeaderFormat : string
Return values
$this

setCellRowContentFormat()

Sets row cell content format.

public setCellRowContentFormat(string $cellRowContentFormat) : $this
Parameters
$cellRowContentFormat : string
Return values
$this

setCellRowFormat()

Sets row cell format.

public setCellRowFormat(string $cellRowFormat) : $this
Parameters
$cellRowFormat : string
Return values
$this

setCrossingChar()

Sets crossing character.

public setCrossingChar(string $crossingChar) : $this
Parameters
$crossingChar : string
Return values
$this

setHorizontalBorderChar()

Sets horizontal border character.

public setHorizontalBorderChar(string $horizontalBorderChar) : $this
Parameters
$horizontalBorderChar : string
Return values
$this

setPaddingChar()

Sets padding character, used for cell padding.

public setPaddingChar(string $paddingChar) : $this
Parameters
$paddingChar : string
Return values
$this

setPadType()

Sets cell padding type.

public setPadType(int $padType) : $this
Parameters
$padType : int

STR_PAD_*

Return values
$this

setVerticalBorderChar()

Sets vertical border character.

public setVerticalBorderChar(string $verticalBorderChar) : $this
Parameters
$verticalBorderChar : string
Return values
$this

        
On this page

Search results