TableStyle
class TableStyle
Defines the styles for a Table.
Methods
TableStyle | setPaddingChar(string $paddingChar) Sets padding character, used for cell padding. | |
string | getPaddingChar() Gets padding character, used for cell padding. | |
TableStyle | setHorizontalBorderChar(string $horizontalBorderChar) Sets horizontal border character. | |
string | getHorizontalBorderChar() Gets horizontal border character. | |
TableStyle | setVerticalBorderChar(string $verticalBorderChar) Sets vertical border character. | |
string | getVerticalBorderChar() Gets vertical border character. | |
TableStyle | setCrossingChar(string $crossingChar) Sets crossing character. | |
string | getCrossingChar() Gets crossing character. | |
TableStyle | setCellHeaderFormat(string $cellHeaderFormat) Sets header cell format. | |
string | getCellHeaderFormat() Gets header cell format. | |
TableStyle | setCellRowFormat(string $cellRowFormat) Sets row cell format. | |
string | getCellRowFormat() Gets row cell format. | |
TableStyle | setCellRowContentFormat(string $cellRowContentFormat) Sets row cell content format. | |
string | getCellRowContentFormat() Gets row cell content format. | |
TableStyle | setBorderFormat(string $borderFormat) Sets table border format. | |
string | getBorderFormat() Gets table border format. | |
TableStyle | setPadType(int $padType) Sets cell padding type. | |
int | getPadType() Gets cell padding type. |
Details
TableStyle setPaddingChar(string $paddingChar)
Sets padding character, used for cell padding.
Parameters
string | $paddingChar |
Return Value
TableStyle |
string getPaddingChar()
Gets padding character, used for cell padding.
Return Value
string |
TableStyle setHorizontalBorderChar(string $horizontalBorderChar)
Sets horizontal border character.
Parameters
string | $horizontalBorderChar |
Return Value
TableStyle |
string getHorizontalBorderChar()
Gets horizontal border character.
Return Value
string |
TableStyle setVerticalBorderChar(string $verticalBorderChar)
Sets vertical border character.
Parameters
string | $verticalBorderChar |
Return Value
TableStyle |
string getVerticalBorderChar()
Gets vertical border character.
Return Value
string |
TableStyle setCrossingChar(string $crossingChar)
Sets crossing character.
Parameters
string | $crossingChar |
Return Value
TableStyle |
string getCrossingChar()
Gets crossing character.
Return Value
string | $crossingChar |
TableStyle setCellHeaderFormat(string $cellHeaderFormat)
Sets header cell format.
Parameters
string | $cellHeaderFormat |
Return Value
TableStyle |
string getCellHeaderFormat()
Gets header cell format.
Return Value
string |
TableStyle setCellRowFormat(string $cellRowFormat)
Sets row cell format.
Parameters
string | $cellRowFormat |
Return Value
TableStyle |
string getCellRowFormat()
Gets row cell format.
Return Value
string |
TableStyle setCellRowContentFormat(string $cellRowContentFormat)
Sets row cell content format.
Parameters
string | $cellRowContentFormat |
Return Value
TableStyle |
string getCellRowContentFormat()
Gets row cell content format.
Return Value
string |
TableStyle setBorderFormat(string $borderFormat)
Sets table border format.
Parameters
string | $borderFormat |
Return Value
TableStyle |
string getBorderFormat()
Gets table border format.
Return Value
string |
TableStyle setPadType(int $padType)
Sets cell padding type.
Parameters
int | $padType | STRPAD* |
Return Value
TableStyle |
int getPadType()
Gets cell padding type.
Return Value
int |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Console/Helper/TableStyle.html