Helper\TableStyle (Component\Console)

Symfony\Component\Console\Helper\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

public TableStyle setPaddingChar(string $paddingChar)

Sets padding character, used for cell padding.

Parameters

string $paddingChar

Return Value

TableStyle

public string getPaddingChar()

Gets padding character, used for cell padding.

Return Value

string

public TableStyle setHorizontalBorderChar(string $horizontalBorderChar)

Sets horizontal border character.

Parameters

string $horizontalBorderChar

Return Value

TableStyle

public string getHorizontalBorderChar()

Gets horizontal border character.

Return Value

string

public TableStyle setVerticalBorderChar(string $verticalBorderChar)

Sets vertical border character.

Parameters

string $verticalBorderChar

Return Value

TableStyle

public string getVerticalBorderChar()

Gets vertical border character.

Return Value

string

public TableStyle setCrossingChar(string $crossingChar)

Sets crossing character.

Parameters

string $crossingChar

Return Value

TableStyle

public string getCrossingChar()

Gets crossing character.

Return Value

string $crossingChar

public TableStyle setCellHeaderFormat(string $cellHeaderFormat)

Sets header cell format.

Parameters

string $cellHeaderFormat

Return Value

TableStyle

public string getCellHeaderFormat()

Gets header cell format.

Return Value

string

public TableStyle setCellRowFormat(string $cellRowFormat)

Sets row cell format.

Parameters

string $cellRowFormat

Return Value

TableStyle

public string getCellRowFormat()

Gets row cell format.

Return Value

string

public TableStyle setCellRowContentFormat(string $cellRowContentFormat)

Sets row cell content format.

Parameters

string $cellRowContentFormat

Return Value

TableStyle

public string getCellRowContentFormat()

Gets row cell content format.

Return Value

string

public TableStyle setBorderFormat(string $borderFormat)

Sets table border format.

Parameters

string $borderFormat

Return Value

TableStyle

public string getBorderFormat()

Gets table border format.

Return Value

string

public TableStyle setPadType(int $padType)

Sets cell padding type.

Parameters

int $padType STRPAD*

Return Value

TableStyle

public int getPadType()

Gets cell padding type.

Return Value

int

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部