TYPO3  7.6
Public Member Functions | Private Attributes | List of all members
TableStyle Class Reference

Public Member Functions

 setPaddingChar ($paddingChar)
 
 getPaddingChar ()
 
 setHorizontalBorderChar ($horizontalBorderChar)
 
 getHorizontalBorderChar ()
 
 setVerticalBorderChar ($verticalBorderChar)
 
 getVerticalBorderChar ()
 
 setCrossingChar ($crossingChar)
 
 getCrossingChar ()
 
 setCellHeaderFormat ($cellHeaderFormat)
 
 getCellHeaderFormat ()
 
 setCellRowFormat ($cellRowFormat)
 
 getCellRowFormat ()
 
 setCellRowContentFormat ($cellRowContentFormat)
 
 getCellRowContentFormat ()
 
 setBorderFormat ($borderFormat)
 
 getBorderFormat ()
 
 setPadType ($padType)
 
 getPadType ()
 

Private Attributes

 $paddingChar = ' '
 
 $horizontalBorderChar = '-'
 
 $verticalBorderChar = '|'
 
 $crossingChar = '+'
 
 $cellHeaderFormat = '<info>%s</info>'
 
 $cellRowFormat = '%s'
 
 $cellRowContentFormat = ' %s '
 
 $borderFormat = '%s'
 
 $padType = STR_PAD_RIGHT
 

Detailed Description

Defines the styles for a Table.

Author
Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com
Саша Стаменковић umpir.nosp@m.sky@.nosp@m.gmail.nosp@m..com

Definition at line 20 of file TableStyle.php.

Member Function Documentation

getBorderFormat ( )

Gets table border format.

Returns
string

Definition at line 223 of file TableStyle.php.

References TableStyle\$borderFormat.

getCellHeaderFormat ( )

Gets header cell format.

Returns
string

Definition at line 151 of file TableStyle.php.

References TableStyle\$cellHeaderFormat.

getCellRowContentFormat ( )

Gets row cell content format.

Returns
string

Definition at line 199 of file TableStyle.php.

References TableStyle\$cellRowContentFormat.

getCellRowFormat ( )

Gets row cell format.

Returns
string

Definition at line 175 of file TableStyle.php.

References TableStyle\$cellRowFormat.

getCrossingChar ( )

Gets crossing character.

Returns
string $crossingChar

Definition at line 127 of file TableStyle.php.

References TableStyle\$crossingChar.

getHorizontalBorderChar ( )

Gets horizontal border character.

Returns
string

Definition at line 79 of file TableStyle.php.

References TableStyle\$horizontalBorderChar.

getPaddingChar ( )

Gets padding character, used for cell padding.

Returns
string

Definition at line 55 of file TableStyle.php.

References TableStyle\$paddingChar.

getPadType ( )

Gets cell padding type.

Returns
int

Definition at line 251 of file TableStyle.php.

References TableStyle\$padType.

getVerticalBorderChar ( )

Gets vertical border character.

Returns
string

Definition at line 103 of file TableStyle.php.

References TableStyle\$verticalBorderChar.

setBorderFormat (   $borderFormat)

Sets table border format.

Parameters
string$borderFormat
Returns
TableStyle

Definition at line 211 of file TableStyle.php.

References TableStyle\$borderFormat.

setCellHeaderFormat (   $cellHeaderFormat)

Sets header cell format.

Parameters
string$cellHeaderFormat
Returns
TableStyle

Definition at line 139 of file TableStyle.php.

References TableStyle\$cellHeaderFormat.

setCellRowContentFormat (   $cellRowContentFormat)

Sets row cell content format.

Parameters
string$cellRowContentFormat
Returns
TableStyle

Definition at line 187 of file TableStyle.php.

References TableStyle\$cellRowContentFormat.

setCellRowFormat (   $cellRowFormat)

Sets row cell format.

Parameters
string$cellRowFormat
Returns
TableStyle

Definition at line 163 of file TableStyle.php.

References TableStyle\$cellRowFormat.

setCrossingChar (   $crossingChar)

Sets crossing character.

Parameters
string$crossingChar
Returns
TableStyle

Definition at line 115 of file TableStyle.php.

References TableStyle\$crossingChar.

setHorizontalBorderChar (   $horizontalBorderChar)

Sets horizontal border character.

Parameters
string$horizontalBorderChar
Returns
TableStyle

Definition at line 67 of file TableStyle.php.

References TableStyle\$horizontalBorderChar.

setPaddingChar (   $paddingChar)

Sets padding character, used for cell padding.

Parameters
string$paddingChar
Returns
TableStyle

Definition at line 39 of file TableStyle.php.

References TableStyle\$paddingChar.

setPadType (   $padType)

Sets cell padding type.

Parameters
int$padTypeSTR_PAD_*
Returns
TableStyle

Definition at line 235 of file TableStyle.php.

References TableStyle\$padType.

setVerticalBorderChar (   $verticalBorderChar)

Sets vertical border character.

Parameters
string$verticalBorderChar
Returns
TableStyle

Definition at line 91 of file TableStyle.php.

References TableStyle\$verticalBorderChar.

Member Data Documentation

$borderFormat = '%s'
private

Definition at line 29 of file TableStyle.php.

Referenced by TableStyle\getBorderFormat(), and TableStyle\setBorderFormat().

$cellHeaderFormat = '<info>%s</info>'
private
$cellRowContentFormat = ' %s '
private
$cellRowFormat = '%s'
private

Definition at line 27 of file TableStyle.php.

Referenced by TableStyle\getCellRowFormat(), and TableStyle\setCellRowFormat().

$crossingChar = '+'
private

Definition at line 25 of file TableStyle.php.

Referenced by TableStyle\getCrossingChar(), and TableStyle\setCrossingChar().

$horizontalBorderChar = '-'
private
$paddingChar = ' '
private

Definition at line 22 of file TableStyle.php.

Referenced by TableStyle\getPaddingChar(), and TableStyle\setPaddingChar().

$padType = STR_PAD_RIGHT
private

Definition at line 30 of file TableStyle.php.

Referenced by TableStyle\getPadType(), and TableStyle\setPadType().

$verticalBorderChar = '|'
private