Bug #24352 » 16764_44.diff
typo3/sysext/cms/tslib/class.tslib_content.php (working copy) | ||
---|---|---|
$hookObject = t3lib_div::getUserObj($classData);
|
||
if(!($hookObject instanceof tslib_content_stdWrapHook)) {
|
||
throw new UnexpectedValueException('$hookObject must implement interface tslib_content_stdWrapHook', 1195043965);
|
||
throw new UnexpectedValueException(
|
||
$classData . ' implement interface tslib_content_stdWrapHook',
|
||
1195043965
|
||
);
|
||
}
|
||
$this->stdWrapHookObjects[] = $hookObject;
|
||
... | ... | |
$postInitializationProcessor = t3lib_div::getUserObj($classData);
|
||
if(!($postInitializationProcessor instanceof tslib_content_PostInitHook)) {
|
||
throw new UnexpectedValueException('$postInitializationProcessor must implement interface tslib_content_PostInitHook', 1274563549);
|
||
throw new UnexpectedValueException(
|
||
$classData . ' must implement interface tslib_content_PostInitHook',
|
||
1274563549
|
||
);
|
||
}
|
||
$postInitializationProcessor->postProcessContentObjectInitialization($this);
|