[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 698 lines (20 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Table:: (32 methods):
__construct()
setStyleDefinition()
getStyleDefinition()
setStyle()
getStyle()
setColumnStyle()
getColumnStyle()
setColumnWidth()
setColumnWidths()
setHeaders()
setRows()
addRows()
addRow()
setRow()
render()
renderRowSeparator()
renderColumnSeparator()
renderRow()
renderCell()
calculateNumberOfColumns()
buildTableRows()
fillNextRows()
fillCells()
copyRow()
getNumberOfColumns()
getRowColumns()
calculateColumnsWidth()
getColumnSeparatorWidth()
getCellWidth()
cleanup()
initStyles()
resolveStyle()
__construct(OutputInterface $output) X-Ref |
No description |
setStyleDefinition($name, TableStyle $style) X-Ref |
Sets a style definition. param: string $name The style name param: TableStyle $style A TableStyle instance |
getStyleDefinition($name) X-Ref |
Gets a style definition by name. param: string $name The style name return: TableStyle |
setStyle($name) X-Ref |
Sets table style. param: TableStyle|string $name The style name or a TableStyle instance return: $this |
getStyle() X-Ref |
Gets the current table style. return: TableStyle |
setColumnStyle($columnIndex, $name) X-Ref |
Sets table column style. param: int $columnIndex Column index param: TableStyle|string $name The style name or a TableStyle instance return: $this |
getColumnStyle($columnIndex) X-Ref |
Gets the current style for a column. If style was not set, it returns the global table style. param: int $columnIndex Column index return: TableStyle |
setColumnWidth($columnIndex, $width) X-Ref |
Sets the minimum width of a column. param: int $columnIndex Column index param: int $width Minimum column width in characters return: $this |
setColumnWidths(array $widths) X-Ref |
Sets the minimum width of all columns. return: $this |
setHeaders(array $headers) X-Ref |
No description |
setRows(array $rows) X-Ref |
No description |
addRows(array $rows) X-Ref |
No description |
addRow($row) X-Ref |
No description |
setRow($column, array $row) X-Ref |
No description |
render() X-Ref |
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 | +---------------+-----------------------+------------------+ |
renderRowSeparator() X-Ref |
Renders horizontal header separator. Example: +-----+-----------+-------+ |
renderColumnSeparator() X-Ref |
Renders vertical column separator. |
renderRow(array $row, $cellFormat) X-Ref |
Renders table row. Example: | 9971-5-0210-0 | A Tale of Two Cities | Charles Dickens | param: string $cellFormat |
renderCell(array $row, $column, $cellFormat) X-Ref |
Renders table cell with padding. param: int $column param: string $cellFormat |
calculateNumberOfColumns() X-Ref |
Calculate number of columns for this table. |
buildTableRows($rows) X-Ref |
No description |
fillNextRows(array $rows, $line) X-Ref |
fill rows that contains rowspan > 1. param: int $line return: array |
fillCells($row) X-Ref |
fill cells for a row that contains colspan > 1. return: array |
copyRow(array $rows, $line) X-Ref |
param: int $line return: array |
getNumberOfColumns(array $row) X-Ref |
Gets number of columns by row. return: int |
getRowColumns(array $row) X-Ref |
Gets list of columns for the given row. return: array |
calculateColumnsWidth(array $rows) X-Ref |
Calculates columns widths. |
getColumnSeparatorWidth() X-Ref |
Gets column width. return: int |
getCellWidth(array $row, $column) X-Ref |
Gets cell width. param: int $column return: int |
cleanup() X-Ref |
Called after rendering to cleanup cache data. |
initStyles() X-Ref |
No description |
resolveStyle($name) X-Ref |
No description |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |