Project

General

Profile

Feature #24050 » tslib_content_OTABLE.diff

Administrator Admin, 2010-11-14 17:59

View differences:

typo3/sysext/cms/tslib/content/class.tslib_content_offsettable.php (revision )
* @return string Output
*/
public function render($conf = array()) {
$controlTable = t3lib_div::makeInstance('tslib_tableOffset');
if ($conf['tableParams']) {
$controlTable->tableParams = $conf['tableParams'];
$tableParams = isset($conf['tableParams.'])
? $this->cObj->stdWrap($conf['tableParams'], $conf['tableParams.'])
: $conf['tableParams'];
if ($tableParams) {
$controlTable->tableParams = $tableParams;
}
return $controlTable->start($this->cObj->cObjGet($conf), $conf['offset']);
$offset = isset($conf['offset.'])
? $this->cObj->tsdWrap($conf['offset'], $conf['offset.'])
: $conf['offset'];
return $controlTable->start($this->cObj->cObjGet($conf), $offset);
}
}
(1-1/2)