Méthode | Description | |
---|---|---|
asciiBorder ( ) : |
A style that uses ASCII characters for drawing borders. | |
borderless ( ) : |
A borderless style. | |
getBorderStyle ( ) : |
Returns the border style. | |
getCellFormat ( ) : string | Returns the format string for rendering cells. | |
getCellStyle ( ) : |
Returns the style of the table cells. | |
getColumnAlignment ( integer $column ) : integer | Returns the alignment of a given column. | |
getColumnAlignments ( integer $nbColumns ) : int[] | Returns the alignments of the table columns. | |
getDefaultColumnAlignment ( ) : integer | Returns the default column alignment. | |
getHeaderCellFormat ( ) : string | Returns the format string for rendering the header cells. | |
getHeaderCellStyle ( ) : |
Returns the style of the header cells. | |
getPaddingChar ( ) : string | Returns the character used to pad cells to the desired width. | |
setBorderStyle ( |
Sets the border style. | |
setCellFormat ( string $format ) : static | Sets the format string for rendering cells. | |
setCellStyle ( |
Sets the style of the table cells. | |
setColumnAlignment ( integer $column, integer $alignment ) : static | Sets the alignment of a given column. | |
setColumnAlignments ( array $alignments ) : static | Sets the alignments of the table columns. | |
setDefaultColumnAlignment ( integer $alignment ) : static | Returns the default column alignment. | |
setHeaderCellFormat ( string $format ) : static | Sets the format string for rendering the header cells. | |
setHeaderCellStyle ( |
Sets the style of the header 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 ( ) : |
||
Résultat | The style. |
public static borderless ( ) : |
||
Résultat | The style. |
public getBorderStyle ( ) : |
||
Résultat | The border style. |
public getCellFormat ( ) : string | ||
Résultat | string | The format string. The string contains the substring "%s" where the cell content is inserted. |
public getCellStyle ( ) : |
||
Résultat | The cell style. |
public getColumnAlignment ( integer $column ) : integer | ||
$column | integer | The 0-based column key. |
Résultat | integer | The {@link Alignment} constant. |
public getColumnAlignments ( integer $nbColumns ) : int[] | ||
$nbColumns | integer | The number of alignments to return. |
Résultat | int[] | An array of {@link Alignment} constants indexed by the 0-based column keys. |
public getDefaultColumnAlignment ( ) : integer | ||
Résultat | integer | One of the {@link Alignment} constants. |
public getHeaderCellFormat ( ) : string | ||
Résultat | string | The format string. The string contains the substring "%s" where the cell content is inserted. |
public getHeaderCellStyle ( ) : |
||
Résultat | The header cell style. |
public getPaddingChar ( ) : string | ||
Résultat | string | The padding character. |
public setBorderStyle ( |
||
$borderStyle | The border style. | |
Résultat | 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. |
Résultat | static | The current instance. |
public setCellStyle ( |
||
$style | The cell style. | |
Résultat | static | The current instance. |
public setColumnAlignment ( integer $column, integer $alignment ) : static | ||
$column | integer | The 0-based column key. |
$alignment | integer | The alignment. |
Résultat | static | The current instance. |
public setColumnAlignments ( array $alignments ) : static | ||
$alignments | array | An array of {@link Alignment} constants indexed by the 0-based column keys. |
Résultat | static | The current instance. |
public setDefaultColumnAlignment ( integer $alignment ) : static | ||
$alignment | integer | One of the {@link Alignment} constants. |
Résultat | static | The current instance. |
public setHeaderCellFormat ( string $format ) : static | ||
$format | string | The format string. The string should contain the substring "%s" where the cell content is inserted. |
Résultat | static | The current instance. |
public setHeaderCellStyle ( |
||
$style | The header cell style. | |
Résultat | static | The current instance. |
public setPaddingChar ( string $char ) : static | ||
$char | string | The padding character. |
Résultat | static | The current instance. |
public static solidBorder ( ) : |
||
Résultat | The style. |