TableStyle

class TableStyle

Defines the styles for a Table.

Methods

$this setPaddingChar(string $paddingChar)

Sets padding character, used for cell padding.

string getPaddingChar()

Gets padding character, used for cell padding.

$this setHorizontalBorderChar(string $horizontalBorderChar)

Sets horizontal border character.

string getHorizontalBorderChar()

Gets horizontal border character.

$this setVerticalBorderChar(string $verticalBorderChar)

Sets vertical border character.

string getVerticalBorderChar()

Gets vertical border character.

$this setCrossingChar(string $crossingChar)

Sets crossing character.

string getCrossingChar()

Gets crossing character.

$this setCellHeaderFormat(string $cellHeaderFormat)

Sets header cell format.

string getCellHeaderFormat()

Gets header cell format.

$this setCellRowFormat(string $cellRowFormat)

Sets row cell format.

string getCellRowFormat()

Gets row cell format.

$this setCellRowContentFormat(string $cellRowContentFormat)

Sets row cell content format.

string getCellRowContentFormat()

Gets row cell content format.

$this setBorderFormat(string $borderFormat)

Sets table border format.

string getBorderFormat()

Gets table border format.

$this setPadType(int $padType)

Sets cell padding type.

int getPadType()

Gets cell padding type.

Details

$this setPaddingChar(string $paddingChar)

Sets padding character, used for cell padding.

Parameters

string $paddingChar

Return Value

$this

string getPaddingChar()

Gets padding character, used for cell padding.

Return Value

string

$this setHorizontalBorderChar(string $horizontalBorderChar)

Sets horizontal border character.

Parameters

string $horizontalBorderChar

Return Value

$this

string getHorizontalBorderChar()

Gets horizontal border character.

Return Value

string

$this setVerticalBorderChar(string $verticalBorderChar)

Sets vertical border character.

Parameters

string $verticalBorderChar

Return Value

$this

string getVerticalBorderChar()

Gets vertical border character.

Return Value

string

$this setCrossingChar(string $crossingChar)

Sets crossing character.

Parameters

string $crossingChar

Return Value

$this

string getCrossingChar()

Gets crossing character.

Return Value

string $crossingChar

$this setCellHeaderFormat(string $cellHeaderFormat)

Sets header cell format.

Parameters

string $cellHeaderFormat

Return Value

$this

string getCellHeaderFormat()

Gets header cell format.

Return Value

string

$this setCellRowFormat(string $cellRowFormat)

Sets row cell format.

Parameters

string $cellRowFormat

Return Value

$this

string getCellRowFormat()

Gets row cell format.

Return Value

string

$this setCellRowContentFormat(string $cellRowContentFormat)

Sets row cell content format.

Parameters

string $cellRowContentFormat

Return Value

$this

string getCellRowContentFormat()

Gets row cell content format.

Return Value

string

$this setBorderFormat(string $borderFormat)

Sets table border format.

Parameters

string $borderFormat

Return Value

$this

string getBorderFormat()

Gets table border format.

Return Value

string

$this setPadType(int $padType)

Sets cell padding type.

Parameters

int $padType STRPAD*

Return Value

$this

int getPadType()

Gets cell padding type.

Return Value

int

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Console/Helper/TableStyle.html