[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

(no description)

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

Defines 1 class

TableStyle:: (23 methods):
  setPaddingChar()
  getPaddingChar()
  setHorizontalBorderChars()
  setVerticalBorderChars()
  getBorderChars()
  setCrossingChars()
  setDefaultCrossingChar()
  getCrossingChar()
  getCrossingChars()
  setCellHeaderFormat()
  getCellHeaderFormat()
  setCellRowFormat()
  getCellRowFormat()
  setCellRowContentFormat()
  getCellRowContentFormat()
  setBorderFormat()
  getBorderFormat()
  setPadType()
  getPadType()
  getHeaderTitleFormat()
  setHeaderTitleFormat()
  getFooterTitleFormat()
  setFooterTitleFormat()


Class: TableStyle  - X-Ref

Defines the styles for a Table.

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

return: $this

getPaddingChar()   X-Ref
Gets padding character, used for cell padding.

return: string

setHorizontalBorderChars(string $outside, string $inside = null)   X-Ref
Sets horizontal border characters.

<code>
╔═══════════════╤══════════════════════════╤══════════════════╗
1 ISBN          2 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 ║
║ 80-902734-1-6 │ And Then There Were None │ Agatha Christie  ║
╚═══════════════╧══════════════════════════╧══════════════════╝
</code>

return: $this

setVerticalBorderChars(string $outside, string $inside = null)   X-Ref
Sets vertical border characters.

<code>
╔═══════════════╤══════════════════════════╤══════════════════╗
║ ISBN          │ Title                    │ Author           ║
╠═══════1═══════╪══════════════════════════╪══════════════════╣
║ 99921-58-10-7 │ Divine Comedy            │ Dante Alighieri  ║
║ 9971-5-0210-0 │ A Tale of Two Cities     │ Charles Dickens  ║
╟───────2───────┼──────────────────────────┼──────────────────╢
║ 960-425-059-0 │ The Lord of the Rings    │ J. R. R. Tolkien ║
║ 80-902734-1-6 │ And Then There Were None │ Agatha Christie  ║
╚═══════════════╧══════════════════════════╧══════════════════╝
</code>

return: $this

getBorderChars()   X-Ref
Gets border characters.


setCrossingChars(string $cross, string $topLeft, string $topMid, string $topRight, string $midRight, string $bottomRight, string $bottomMid, string $bottomLeft, string $midLeft, string $topLeftBottom = null, string $topMidBottom = null, string $topRightBottom = null)   X-Ref
Sets crossing characters.

Example:
<code>
1═══════════════2══════════════════════════2══════════════════3
║ ISBN          │ Title                    │ Author           ║
8'══════════════0'═════════════════════════0'═════════════════4'
║ 99921-58-10-7 │ Divine Comedy            │ Dante Alighieri  ║
║ 9971-5-0210-0 │ A Tale of Two Cities     │ Charles Dickens  ║
8───────────────0──────────────────────────0──────────────────4
║ 960-425-059-0 │ The Lord of the Rings    │ J. R. R. Tolkien ║
║ 80-902734-1-6 │ And Then There Were None │ Agatha Christie  ║
7═══════════════6══════════════════════════6══════════════════5
</code>

param: string      $cross          Crossing char (see #0 of example)
param: string      $topLeft        Top left char (see #1 of example)
param: string      $topMid         Top mid char (see #2 of example)
param: string      $topRight       Top right char (see #3 of example)
param: string      $midRight       Mid right char (see #4 of example)
param: string      $bottomRight    Bottom right char (see #5 of example)
param: string      $bottomMid      Bottom mid char (see #6 of example)
param: string      $bottomLeft     Bottom left char (see #7 of example)
param: string      $midLeft        Mid left char (see #8 of example)
param: string|null $topLeftBottom  Top left bottom char (see #8' of example), equals to $midLeft if null
param: string|null $topMidBottom   Top mid bottom char (see #0' of example), equals to $cross if null
param: string|null $topRightBottom Top right bottom char (see #4' of example), equals to $midRight if null
return: $this

setDefaultCrossingChar(string $char)   X-Ref
Sets default crossing character used for each cross.


getCrossingChar()   X-Ref
Gets crossing character.

return: string

getCrossingChars()   X-Ref
Gets crossing characters.


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

return: $this

getCellHeaderFormat()   X-Ref
Gets header cell format.

return: string

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

return: $this

getCellRowFormat()   X-Ref
Gets row cell format.

return: string

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

return: $this

getCellRowContentFormat()   X-Ref
Gets row cell content format.

return: string

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

return: $this

getBorderFormat()   X-Ref
Gets table border format.

return: string

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

return: $this

getPadType()   X-Ref
Gets cell padding type.

return: int

getHeaderTitleFormat()   X-Ref
No description

setHeaderTitleFormat(string $format)   X-Ref

return: $this

getFooterTitleFormat()   X-Ref
No description

setFooterTitleFormat(string $format)   X-Ref

return: $this



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer