Issue Bug Closed

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

Sven Wappler 12/15/10, 10:05 updated 03/10/14, 12:09

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.