TYPO3  7.6
Public Member Functions | Private Attributes | List of all members
TableCell Class Reference
Inheritance diagram for TableCell:
TableSeparator

Public Member Functions

 __construct ($value= '', array $options=array())
 
 __toString ()
 
 getColspan ()
 
 getRowspan ()
 

Private Attributes

 $value
 
 $options
 

Detailed Description

Author
Abdellatif Ait boudad a.ait.nosp@m.boud.nosp@m.ad@gm.nosp@m.ail..nosp@m.com

Definition at line 17 of file TableCell.php.

Constructor & Destructor Documentation

__construct (   $value = '',
array  $options = array() 
)
Parameters
string$value
array$options

Definition at line 36 of file TableCell.php.

References TableCell\$options, and TableCell\$value.

Member Function Documentation

__toString ( )

Returns the cell value.

Returns
string

Definition at line 53 of file TableCell.php.

References TableCell\$value.

getColspan ( )

Gets number of colspan.

Returns
int

Definition at line 63 of file TableCell.php.

Referenced by Table\fillCells(), Table\getCellWidth(), Table\getRowColumns(), and Table\renderCell().

getRowspan ( )

Gets number of rowspan.

Returns
int

Definition at line 73 of file TableCell.php.

Referenced by Table\fillNextRows().

Member Data Documentation

$options
private
Initial value:
= array(
'rowspan' => 1,
'colspan' => 1,
)

Definition at line 27 of file TableCell.php.

Referenced by TableSeparator\__construct(), and TableCell\__construct().

$value
private

Definition at line 22 of file TableCell.php.

Referenced by TableCell\__construct(), and TableCell\__toString().