TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Frontend\ContentObject\TableRenderer Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\ContentObject\TableRenderer:
tslib_controlTable

Public Member Functions

 start ($offset, $cMargins)
 

Public Attributes

 $offX = 0
 
 $offY = 0
 
 $tm = ''
 
 $lm = ''
 
 $rm = ''
 
 $bm = ''
 
 $content = ''
 
 $tmTDparams = 'valign="top"'
 
 $lmTDparams = 'valign="top"'
 
 $rmTDparams = 'valign="top"'
 
 $bmTDparams = 'valign="top"'
 
 $contentTDparams = 'valign="top"'
 
 $cMl = 1
 
 $cMr = 1
 
 $cMt = 0
 
 $cMb = 1
 
 $contentW = 0
 
 $tableParams = 'border="0" cellspacing="0" cellpadding="0"'
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Rendering of tables for content positioning

See also
ContentObjectRenderer::CTABLE()
Author
Kasper Skårhøj kaspe.nosp@m.rYYY.nosp@m.Y@typ.nosp@m.o3.c.nosp@m.om

Definition at line 22 of file TableRenderer.php.

Member Function Documentation

◆ start()

TYPO3\CMS\Frontend\ContentObject\TableRenderer::start (   $offset,
  $cMargins 
)

Wrapping internal vars ->tm, ->lm, ->rm, ->bm and ->content in a table where each content part is stored in a cell. The two arguments to this function defines some offsets and margins to use in the arrangement of the content in the table.

Parameters
string$offsetList of offset parameters; x,y
string$cMarginsList of margin parameters; left, top, right, bottom
Returns
string The content strings wrapped in a
the parameters defined
See also
::CTABLE()
Todo:
Define visibility

Definition at line 141 of file TableRenderer.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\intExplode().

Member Data Documentation

◆ $bm

TYPO3\CMS\Frontend\ContentObject\TableRenderer::$bm = ''
Todo:
Define visibility

Definition at line 58 of file TableRenderer.php.

◆ $bmTDparams

TYPO3\CMS\Frontend\ContentObject\TableRenderer::$bmTDparams = 'valign="top"'
Todo:
Define visibility

Definition at line 88 of file TableRenderer.php.

◆ $cMb

TYPO3\CMS\Frontend\ContentObject\TableRenderer::$cMb = 1
Todo:
Define visibility

Definition at line 118 of file TableRenderer.php.

◆ $cMl

TYPO3\CMS\Frontend\ContentObject\TableRenderer::$cMl = 1
Todo:
Define visibility

Definition at line 100 of file TableRenderer.php.

◆ $cMr

TYPO3\CMS\Frontend\ContentObject\TableRenderer::$cMr = 1
Todo:
Define visibility

Definition at line 106 of file TableRenderer.php.

◆ $cMt

TYPO3\CMS\Frontend\ContentObject\TableRenderer::$cMt = 0
Todo:
Define visibility

Definition at line 112 of file TableRenderer.php.

◆ $content

TYPO3\CMS\Frontend\ContentObject\TableRenderer::$content = ''
Todo:
Define visibility

Definition at line 64 of file TableRenderer.php.

◆ $contentTDparams

TYPO3\CMS\Frontend\ContentObject\TableRenderer::$contentTDparams = 'valign="top"'
Todo:
Define visibility

Definition at line 94 of file TableRenderer.php.

◆ $contentW

TYPO3\CMS\Frontend\ContentObject\TableRenderer::$contentW = 0
Todo:
Define visibility

Definition at line 124 of file TableRenderer.php.

◆ $lm

TYPO3\CMS\Frontend\ContentObject\TableRenderer::$lm = ''
Todo:
Define visibility

Definition at line 46 of file TableRenderer.php.

◆ $lmTDparams

TYPO3\CMS\Frontend\ContentObject\TableRenderer::$lmTDparams = 'valign="top"'
Todo:
Define visibility

Definition at line 76 of file TableRenderer.php.

◆ $offX

TYPO3\CMS\Frontend\ContentObject\TableRenderer::$offX = 0
Todo:
Define visibility

Definition at line 28 of file TableRenderer.php.

◆ $offY

TYPO3\CMS\Frontend\ContentObject\TableRenderer::$offY = 0
Todo:
Define visibility

Definition at line 34 of file TableRenderer.php.

◆ $rm

TYPO3\CMS\Frontend\ContentObject\TableRenderer::$rm = ''
Todo:
Define visibility

Definition at line 52 of file TableRenderer.php.

◆ $rmTDparams

TYPO3\CMS\Frontend\ContentObject\TableRenderer::$rmTDparams = 'valign="top"'
Todo:
Define visibility

Definition at line 82 of file TableRenderer.php.

◆ $tableParams

TYPO3\CMS\Frontend\ContentObject\TableRenderer::$tableParams = 'border="0" cellspacing="0" cellpadding="0"'
Todo:
Define visibility

Definition at line 129 of file TableRenderer.php.

◆ $tm

TYPO3\CMS\Frontend\ContentObject\TableRenderer::$tm = ''
Todo:
Define visibility

Definition at line 40 of file TableRenderer.php.

◆ $tmTDparams

TYPO3\CMS\Frontend\ContentObject\TableRenderer::$tmTDparams = 'valign="top"'
Todo:
Define visibility

Definition at line 70 of file TableRenderer.php.