|
| setPaddingChar (string $paddingChar) |
|
| getPaddingChar () |
|
| setHorizontalBorderChars (string $outside, string $inside=null) |
|
| setVerticalBorderChars (string $outside, string $inside=null) |
|
| getBorderChars () |
|
| 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) |
|
| setDefaultCrossingChar (string $char) |
|
| getCrossingChar () |
|
| getCrossingChars () |
|
| setCellHeaderFormat (string $cellHeaderFormat) |
|
| getCellHeaderFormat () |
|
| setCellRowFormat (string $cellRowFormat) |
|
| getCellRowFormat () |
|
| setCellRowContentFormat (string $cellRowContentFormat) |
|
| getCellRowContentFormat () |
|
| setBorderFormat (string $borderFormat) |
|
| getBorderFormat () |
|
| setPadType (int $padType) |
|
| getPadType () |
|
| getHeaderTitleFormat () |
|
| setHeaderTitleFormat (string $format) |
|
| getFooterTitleFormat () |
|
| setFooterTitleFormat (string $format) |
|
◆ getBorderChars()
◆ getBorderFormat()
◆ getCellHeaderFormat()
◆ getCellRowContentFormat()
getCellRowContentFormat |
( |
| ) |
|
◆ getCellRowFormat()
◆ getCrossingChar()
◆ getCrossingChars()
Gets crossing characters.
Références TableStyle\$crossingBottomLeftChar, TableStyle\$crossingBottomMidChar, TableStyle\$crossingBottomRightChar, TableStyle\$crossingChar, TableStyle\$crossingMidLeftChar, TableStyle\$crossingMidRightChar, TableStyle\$crossingTopLeftBottomChar, TableStyle\$crossingTopLeftChar, TableStyle\$crossingTopMidBottomChar, TableStyle\$crossingTopMidChar, TableStyle\$crossingTopRightBottomChar, et TableStyle\$crossingTopRightChar.
◆ getFooterTitleFormat()
◆ getHeaderTitleFormat()
◆ getPaddingChar()
◆ getPadType()
◆ setBorderFormat()
setBorderFormat |
( |
string |
$borderFormat | ) |
|
◆ setCellHeaderFormat()
setCellHeaderFormat |
( |
string |
$cellHeaderFormat | ) |
|
◆ setCellRowContentFormat()
setCellRowContentFormat |
( |
string |
$cellRowContentFormat | ) |
|
◆ setCellRowFormat()
setCellRowFormat |
( |
string |
$cellRowFormat | ) |
|
◆ setCrossingChars()
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 |
|
) |
| |
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
- Paramètres
-
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 |
- Renvoie
- $this
Références $this.
Référencé par TableStyle\setDefaultCrossingChar().
◆ setDefaultCrossingChar()
setDefaultCrossingChar |
( |
string |
$char | ) |
|
◆ setFooterTitleFormat()
setFooterTitleFormat |
( |
string |
$format | ) |
|
◆ setHeaderTitleFormat()
setHeaderTitleFormat |
( |
string |
$format | ) |
|
◆ setHorizontalBorderChars()
setHorizontalBorderChars |
( |
string |
$outside, |
|
|
string |
$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 ║ ╚═══════════════╧══════════════════════════╧══════════════════╝
- Renvoie
- $this
Références $this.
◆ setPaddingChar()
setPaddingChar |
( |
string |
$paddingChar | ) |
|
◆ setPadType()
setPadType |
( |
int |
$padType | ) |
|
◆ setVerticalBorderChars()
setVerticalBorderChars |
( |
string |
$outside, |
|
|
string |
$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 ║ ╚═══════════════╧══════════════════════════╧══════════════════╝
- Renvoie
- $this
Références $this.
◆ $borderFormat
◆ $cellHeaderFormat
$cellHeaderFormat = '<info>%s</info>' |
|
private |
◆ $cellRowContentFormat
$cellRowContentFormat = ' %s ' |
|
private |
◆ $cellRowFormat
◆ $crossingBottomLeftChar
$crossingBottomLeftChar = '+' |
|
private |
◆ $crossingBottomMidChar
$crossingBottomMidChar = '+' |
|
private |
◆ $crossingBottomRightChar
$crossingBottomRightChar = '+' |
|
private |
◆ $crossingChar
◆ $crossingMidLeftChar
$crossingMidLeftChar = '+' |
|
private |
◆ $crossingMidRightChar
$crossingMidRightChar = '+' |
|
private |
◆ $crossingTopLeftBottomChar
$crossingTopLeftBottomChar = '+' |
|
private |
◆ $crossingTopLeftChar
$crossingTopLeftChar = '+' |
|
private |
◆ $crossingTopMidBottomChar
$crossingTopMidBottomChar = '+' |
|
private |
◆ $crossingTopMidChar
$crossingTopMidChar = '+' |
|
private |
◆ $crossingTopRightBottomChar
$crossingTopRightBottomChar = '+' |
|
private |
◆ $crossingTopRightChar
$crossingTopRightChar = '+' |
|
private |
◆ $footerTitleFormat
$footerTitleFormat = '<fg=black;bg=white;options=bold> %s </>' |
|
private |
◆ $headerTitleFormat
$headerTitleFormat = '<fg=black;bg=white;options=bold> %s </>' |
|
private |
◆ $horizontalInsideBorderChar
$horizontalInsideBorderChar = '-' |
|
private |
◆ $horizontalOutsideBorderChar
$horizontalOutsideBorderChar = '-' |
|
private |
◆ $paddingChar
◆ $padType
$padType = \STR_PAD_RIGHT |
|
private |
◆ $verticalInsideBorderChar
$verticalInsideBorderChar = '|' |
|
private |
◆ $verticalOutsideBorderChar
$verticalOutsideBorderChar = '|' |
|
private |
La documentation de cette classe a été générée à partir du fichier suivant :