TYPO3
7.6
|
Public Member Functions | |
__construct ($triggerDeprecationError=true) | |
setLayout ($layout) | |
setHeaders (array $headers) | |
setRows (array $rows) | |
addRows (array $rows) | |
addRow (array $row) | |
setRow ($column, array $row) | |
setPaddingChar ($paddingChar) | |
setHorizontalBorderChar ($horizontalBorderChar) | |
setVerticalBorderChar ($verticalBorderChar) | |
setCrossingChar ($crossingChar) | |
setCellHeaderFormat ($cellHeaderFormat) | |
setCellRowFormat ($cellRowFormat) | |
setCellRowContentFormat ($cellRowContentFormat) | |
setBorderFormat ($borderFormat) | |
setPadType ($padType) | |
render (OutputInterface $output) | |
getName () | |
Public Member Functions inherited from Helper | |
setHelperSet (HelperSet $helperSet=null) | |
getHelperSet () | |
Public Attributes | |
const | LAYOUT_DEFAULT = 0 |
const | LAYOUT_BORDERLESS = 1 |
const | LAYOUT_COMPACT = 2 |
Private Attributes | |
$table | |
Additional Inherited Members | |
Static Public Member Functions inherited from Helper | |
static | strlen ($string) |
static | formatTime ($secs) |
static | formatMemory ($memory) |
static | strlenWithoutDecoration (OutputFormatterInterface $formatter, $string) |
Protected Attributes inherited from Helper | |
$helperSet = null | |
Provides helpers to display table output.
Definition at line 26 of file TableHelper.php.
__construct | ( | $triggerDeprecationError = true | ) |
Definition at line 37 of file TableHelper.php.
addRow | ( | array | $row | ) |
Definition at line 98 of file TableHelper.php.
addRows | ( | array | $rows | ) |
Definition at line 91 of file TableHelper.php.
getName | ( | ) |
{Returns the canonical name of this helper.
Implements HelperInterface.
Definition at line 264 of file TableHelper.php.
render | ( | OutputInterface | $output | ) |
Renders table to output.
Example: +------------—+--------------------—+---------------—+ | ISBN | Title | Author | +------------—+--------------------—+---------------—+ | 99921-58-10-7 | Divine Comedy | Dante Alighieri | | 9971-5-0210-0 | A Tale of Two Cities | Charles Dickens | | 960-425-059-0 | The Lord of the Rings | J. R. R. Tolkien | +------------—+--------------------—+---------------—+
OutputInterface | $output |
Definition at line 252 of file TableHelper.php.
setBorderFormat | ( | $borderFormat | ) |
Sets table border format.
string | $borderFormat |
Definition at line 217 of file TableHelper.php.
setCellHeaderFormat | ( | $cellHeaderFormat | ) |
Sets header cell format.
string | $cellHeaderFormat |
Definition at line 175 of file TableHelper.php.
setCellRowContentFormat | ( | $cellRowContentFormat | ) |
Sets row cell content format.
string | $cellRowContentFormat |
Definition at line 203 of file TableHelper.php.
setCellRowFormat | ( | $cellRowFormat | ) |
Sets row cell format.
string | $cellRowFormat |
Definition at line 189 of file TableHelper.php.
setCrossingChar | ( | $crossingChar | ) |
Sets crossing character.
string | $crossingChar |
Definition at line 161 of file TableHelper.php.
setHeaders | ( | array | $headers | ) |
Definition at line 77 of file TableHelper.php.
setHorizontalBorderChar | ( | $horizontalBorderChar | ) |
Sets horizontal border character.
string | $horizontalBorderChar |
Definition at line 133 of file TableHelper.php.
setLayout | ( | $layout | ) |
Sets table layout type.
int | $layout | self::LAYOUT_* |
\InvalidArgumentException | when the table layout is not known |
Definition at line 55 of file TableHelper.php.
setPaddingChar | ( | $paddingChar | ) |
Sets padding character, used for cell padding.
string | $paddingChar |
Definition at line 119 of file TableHelper.php.
setPadType | ( | $padType | ) |
Sets cell padding type.
int | $padType | STR_PAD_* |
Definition at line 231 of file TableHelper.php.
setRow | ( | $column, | |
array | $row | ||
) |
Definition at line 105 of file TableHelper.php.
setRows | ( | array | $rows | ) |
Definition at line 84 of file TableHelper.php.
setVerticalBorderChar | ( | $verticalBorderChar | ) |
Sets vertical border character.
string | $verticalBorderChar |
Definition at line 147 of file TableHelper.php.
|
private |
Definition at line 35 of file TableHelper.php.
const LAYOUT_BORDERLESS = 1 |
Definition at line 29 of file TableHelper.php.
Referenced by LegacyTableHelperTest\testRenderProvider().
const LAYOUT_COMPACT = 2 |
Definition at line 30 of file TableHelper.php.
Referenced by LegacyTableHelperTest\testRenderProvider().
const LAYOUT_DEFAULT = 0 |
Definition at line 28 of file TableHelper.php.
Referenced by LegacyTableHelperTest\testRenderFullWidthCharacters(), LegacyTableHelperTest\testRenderMultiByte(), and LegacyTableHelperTest\testRenderProvider().