Project

General

Profile

Actions

Bug #24341

closed

No access to cObj in classes tslib_content_Media , tslib_content_Abstract by custom media renderer

Added by Sven Wappler over 13 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-12-15
Due date:
% Done:

0%

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

Description

The tslib_content_Media object passes on itself to customMediaRender function in class.tslib_content_media.php line 229:

$content = $hookObj->customMediaRender($renderType, $conf, $this);

But the custom media renderer cannot access the cObj variable because it is protected. But access is necessary for reading out important data. Please pass on the cObj-variable to the renderer or make it accessible.

(issue imported from #M16746)

Actions

Also available in: Atom PDF