Method | Description | |
---|---|---|
asciiBorder ( ) : |
A style that uses ASCII characters for drawing borders. | |
borderless ( ) : |
A borderless style. | |
getBorderStyle ( ) : |
Returns the border style. | |
getCellAlignment ( ) : integer | Returns the cell alignment. | |
getCellFormat ( ) : string | Returns the format string for rendering cells. | |
getCellStyle ( ) : |
Returns the style of the grid cells. | |
getPaddingChar ( ) : string | Returns the character used to pad cells to the desired width. | |
setBorderStyle ( |
Sets the border style. | |
setCellAlignment ( integer $alignment ) : static | Sets the cell alignment. | |
setCellFormat ( string $format ) : static | Sets the format string for rendering cells. | |
setCellStyle ( |
Sets the style of the grid cells. | |
setPaddingChar ( string $char ) : static | Sets the character used to pad cells to the desired width. | |
solidBorder ( ) : |
A style that uses Unicode characters for drawing solid borders. |
public static asciiBorder ( ) : |
||
return | The style. |
public static borderless ( ) : |
||
return | The style. |
public getBorderStyle ( ) : |
||
return | The border style. |
public getCellAlignment ( ) : integer | ||
return | integer | One of the {@link Alignment} constants. |
public getCellFormat ( ) : string | ||
return | string | The format string. The string contains the substring "%s" where the cell content is inserted. |
public getCellStyle ( ) : |
||
return | The cell style. |
public getPaddingChar ( ) : string | ||
return | string | The padding character. |
public setBorderStyle ( |
||
$borderStyle | The border style. | |
return | static | The current instance. |
public setCellAlignment ( integer $alignment ) : static | ||
$alignment | integer | One of the {@link Alignment} constants. |
return | static | The current instance. |
public setCellFormat ( string $format ) : static | ||
$format | string | The format string. The string should contain the substring "%s" where the cell content is inserted. |
return | static | The current instance. |
public setCellStyle ( |
||
$style | The cell style. | |
return | static | The current instance. |
public setPaddingChar ( string $char ) : static | ||
$char | string | The padding character. |
return | static | The current instance. |
public static solidBorder ( ) : |
||
return | The style. |