$paddingChar
$paddingChar :
Defines the styles for a Table.
setHorizontalBorderChars(string $outside, string|null $inside = null)
Sets horizontal border characters.
╔═══════════════╤══════════════════════════╤══════════════════╗
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 ║
╚═══════════════╧══════════════════════════╧══════════════════╝
string | $outside | Outside border char (see #1 of example) |
string|null | $inside | Inside border char (see #2 of example), equals $outside if null |
getHorizontalBorderChar() : string
Gets horizontal border character.
None found |
setVerticalBorderChars(string $outside, string|null $inside = null)
Sets vertical border characters.
╔═══════════════╤══════════════════════════╤══════════════════╗
║ 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 ║
╚═══════════════╧══════════════════════════╧══════════════════╝
string | $outside | Outside border char (see #1 of example) |
string|null | $inside | Inside border char (see #2 of example), equals $outside if null |
None found |
setVerticalBorderChar(string $verticalBorderChar) : $this
Sets vertical border character.
string | $verticalBorderChar |
None found |
getVerticalBorderChar() : string
Gets vertical border character.
None found |
setCrossingChars(string $cross, string $topLeft, string $topMid, string $topRight, string $midRight, string $bottomRight, string $bottomMid, string $bottomLeft, string $midLeft, string|null $topLeftBottom = null, string|null $topMidBottom = null, string|null $topRightBottom = null)
Sets crossing characters.
Example:
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
string | $cross | Crossing char (see #0 of example) |
string | $topLeft | Top left char (see #1 of example) |
string | $topMid | Top mid char (see #2 of example) |
string | $topRight | Top right char (see #3 of example) |
string | $midRight | Mid right char (see #4 of example) |
string | $bottomRight | Bottom right char (see #5 of example) |
string | $bottomMid | Bottom mid char (see #6 of example) |
string | $bottomLeft | Bottom left char (see #7 of example) |
string | $midLeft | Mid left char (see #8 of example) |
string|null | $topLeftBottom | Top left bottom char (see #8' of example), equals to $midLeft if null |
string|null | $topMidBottom | Top mid bottom char (see #0' of example), equals to $cross if null |
string|null | $topRightBottom | Top right bottom char (see #4' of example), equals to $midRight if null |
None found |
setDefaultCrossingChar(\Symfony\Component\Console\Helper\string $char)
Sets default crossing character used for each cross.
\Symfony\Component\Console\Helper\string | $char |
None found |
setCrossingChar(string $crossingChar) : $this
Sets crossing character.
string | $crossingChar |
None found |
getCrossingChar() : string
Gets crossing character.
$crossingChar
None found |
setCellHeaderFormat(string $cellHeaderFormat) : $this
Sets header cell format.
string | $cellHeaderFormat |
None found |
None found |
setCellRowFormat(string $cellRowFormat) : $this
Sets row cell format.
string | $cellRowFormat |
None found |
None found |
setCellRowContentFormat(string $cellRowContentFormat) : $this
Sets row cell content format.
string | $cellRowContentFormat |
None found |
getCellRowContentFormat() : string
Gets row cell content format.
None found |
setBorderFormat(string $borderFormat) : $this
Sets table border format.
string | $borderFormat |
None found |
None found |
setPadType(integer $padType) : $this
Sets cell padding type.
integer | $padType | STRPAD* |
None found |
None found |