Project

General

Profile

Actions

Bug #35681

closed

cObj->RECORDS/CONTENT

Added by Martin Vennemann over 12 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
Start date:
2012-04-04
Due date:
% Done:

90%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hi guys,

got a problem using cObj->RECORDS or cObj->CONTENT inside an old extension. In Typo3 4.6.7, the extensions "main" function won't return anything if one of these functions have been used.
The output looks fine, debugging via "echo $this->cObj->RECORDS" will output the desired record.

The entire main-function inside my testing extension looks like this:

function main($content,$conf) {

$content = 'bla';
$rConf = array('tables' => 'tt_content', 'source' => '19', 'dontCheckPid' => 1);
$cConf = array(
'table' => 'tt_content',
'select.' => array(
'pidInList' => 2
)
);
$content .= $this->cObj->CONTENT($cConf);
return $this->pi_wrapInBaseClass($content);
}

Installed this test-extension on a 4.6.2 project and everything worked.

Actions

Also available in: Atom PDF