[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/symfony/console/Helper/ -> TableHelper.php (summary)

(no description)

File Size: 264 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

TableHelper:: (18 methods):
  __construct()
  setLayout()
  setHeaders()
  setRows()
  addRows()
  addRow()
  setRow()
  setPaddingChar()
  setHorizontalBorderChar()
  setVerticalBorderChar()
  setCrossingChar()
  setCellHeaderFormat()
  setCellRowFormat()
  setCellRowContentFormat()
  setBorderFormat()
  setPadType()
  render()
  getName()


Class: TableHelper  - X-Ref

Provides helpers to display table output.

__construct($triggerDeprecationError = true)   X-Ref
No description

setLayout($layout)   X-Ref
Sets table layout type.

param: int $layout self::LAYOUT_*
return: $this

setHeaders(array $headers)   X-Ref
No description

setRows(array $rows)   X-Ref
No description

addRows(array $rows)   X-Ref
No description

addRow(array $row)   X-Ref
No description

setRow($column, array $row)   X-Ref
No description

setPaddingChar($paddingChar)   X-Ref
Sets padding character, used for cell padding.

param: string $paddingChar
return: $this

setHorizontalBorderChar($horizontalBorderChar)   X-Ref
Sets horizontal border character.

param: string $horizontalBorderChar
return: $this

setVerticalBorderChar($verticalBorderChar)   X-Ref
Sets vertical border character.

param: string $verticalBorderChar
return: $this

setCrossingChar($crossingChar)   X-Ref
Sets crossing character.

param: string $crossingChar
return: $this

setCellHeaderFormat($cellHeaderFormat)   X-Ref
Sets header cell format.

param: string $cellHeaderFormat
return: $this

setCellRowFormat($cellRowFormat)   X-Ref
Sets row cell format.

param: string $cellRowFormat
return: $this

setCellRowContentFormat($cellRowContentFormat)   X-Ref
Sets row cell content format.

param: string $cellRowContentFormat
return: $this

setBorderFormat($borderFormat)   X-Ref
Sets table border format.

param: string $borderFormat
return: $this

setPadType($padType)   X-Ref
Sets cell padding type.

param: int $padType STR_PAD_*
return: $this

render(OutputInterface $output)   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 |
+---------------+-----------------------+------------------+

getName()   X-Ref
{@inheritdoc}




Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1