Bug #20257 » tslibcontentCallsDeprecatedMICN.patch
typo3/sysext/cms/tslib/class.tslib_content.php (working copy) | ||
---|---|---|
// Split parts
|
||
$parts = explode('->',$funcName);
|
||
if (count($parts)==2) { // Class
|
||
$cls = t3lib_div::makeInstanceClassName($parts[0]);
|
||
// Check whether class is available and try to reload includeLibs if possible:
|
||
if ($this->isClassAvailable($cls, $conf)) {
|
||
$classObj = new $cls;
|
||
if ($this->isClassAvailable($parts[0], $conf)) {
|
||
$classObj = new $parts[0];
|
||
if (method_exists($classObj, $parts[1])) {
|
||
$classObj->cObj = &$this;
|
||
$content = call_user_func_array(array($classObj, $parts[1]), array($content, $conf));
|