Properties

$paddingChar

$paddingChar : 

Type

$horizontalOutsideBorderChar

$horizontalOutsideBorderChar : 

Type

$horizontalInsideBorderChar

$horizontalInsideBorderChar : 

Type

$verticalOutsideBorderChar

$verticalOutsideBorderChar : 

Type

$verticalInsideBorderChar

$verticalInsideBorderChar : 

Type

$crossingChar

$crossingChar : 

Type

$crossingTopRightChar

$crossingTopRightChar : 

Type

$crossingTopMidChar

$crossingTopMidChar : 

Type

$crossingTopLeftChar

$crossingTopLeftChar : 

Type

$crossingMidRightChar

$crossingMidRightChar : 

Type

$crossingBottomRightChar

$crossingBottomRightChar : 

Type

$crossingBottomMidChar

$crossingBottomMidChar : 

Type

$crossingBottomLeftChar

$crossingBottomLeftChar : 

Type

$crossingMidLeftChar

$crossingMidLeftChar : 

Type

$crossingTopLeftBottomChar

$crossingTopLeftBottomChar : 

Type

$crossingTopMidBottomChar

$crossingTopMidBottomChar : 

Type

$crossingTopRightBottomChar

$crossingTopRightBottomChar : 

Type

$cellHeaderFormat

$cellHeaderFormat : 

Type

$cellRowFormat

$cellRowFormat : 

Type

$cellRowContentFormat

$cellRowContentFormat : 

Type

$borderFormat

$borderFormat : 

Type

$padType

$padType : 

Type

Methods

setPaddingChar()

setPaddingChar(string  $paddingChar) : $this

Sets padding character, used for cell padding.

Parameters

string $paddingChar

Returns

$this

getPaddingChar()

getPaddingChar() : string

Gets padding character, used for cell padding.

Returns

string

setHorizontalBorderChars()

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 ║ ╚═══════════════╧══════════════════════════╧══════════════════╝

Parameters

string $outside

Outside border char (see #1 of example)

string|null $inside

Inside border char (see #2 of example), equals $outside if null

setHorizontalBorderChar()

setHorizontalBorderChar(string  $horizontalBorderChar) : $this

Sets horizontal border character.

Parameters

string $horizontalBorderChar

Returns

$this

getHorizontalBorderChar()

getHorizontalBorderChar() : string

Gets horizontal border character.

Returns

string

setVerticalBorderChars()

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 ║ ╚═══════════════╧══════════════════════════╧══════════════════╝

Parameters

string $outside

Outside border char (see #1 of example)

string|null $inside

Inside border char (see #2 of example), equals $outside if null

setVerticalBorderChar()

setVerticalBorderChar(string  $verticalBorderChar) : $this

Sets vertical border character.

Parameters

string $verticalBorderChar

Returns

$this

getVerticalBorderChar()

getVerticalBorderChar() : string

Gets vertical border character.

Returns

string

setCrossingChars()

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

Parameters

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

setDefaultCrossingChar()

setDefaultCrossingChar(\Symfony\Component\Console\Helper\string  $char) 

Sets default crossing character used for each cross.

Parameters

\Symfony\Component\Console\Helper\string $char

setCrossingChar()

setCrossingChar(string  $crossingChar) : $this

Sets crossing character.

Parameters

string $crossingChar

Returns

$this

getCrossingChar()

getCrossingChar() : string

Gets crossing character.

Returns

string —

$crossingChar

setCellHeaderFormat()

setCellHeaderFormat(string  $cellHeaderFormat) : $this

Sets header cell format.

Parameters

string $cellHeaderFormat

Returns

$this

getCellHeaderFormat()

getCellHeaderFormat() : string

Gets header cell format.

Returns

string

setCellRowFormat()

setCellRowFormat(string  $cellRowFormat) : $this

Sets row cell format.

Parameters

string $cellRowFormat

Returns

$this

getCellRowFormat()

getCellRowFormat() : string

Gets row cell format.

Returns

string

setCellRowContentFormat()

setCellRowContentFormat(string  $cellRowContentFormat) : $this

Sets row cell content format.

Parameters

string $cellRowContentFormat

Returns

$this

getCellRowContentFormat()

getCellRowContentFormat() : string

Gets row cell content format.

Returns

string

setBorderFormat()

setBorderFormat(string  $borderFormat) : $this

Sets table border format.

Parameters

string $borderFormat

Returns

$this

getBorderFormat()

getBorderFormat() : string

Gets table border format.

Returns

string

setPadType()

setPadType(integer  $padType) : $this

Sets cell padding type.

Parameters

integer $padType

STRPAD*

Returns

$this

getPadType()

getPadType() : integer

Gets cell padding type.

Returns

integer