[TYPO3-core] RFC: Bug #7203: Hook cObjTypeAndClassDefault in tslib_content somtimes fails

Dmitry Dulepov [typo3] dmitry at typo3.org
Fri Jan 18 16:38:56 CET 2008


Hi!

Oliver Hader wrote:
> The following TypoScript won't work then with the hook:
> 10 = COA
> 10 {
>   10 = MYOWNSTATICBLOCK
> }

I am lost... Wouldn't it be parsed as

10 => 'COA'
10. => array(
	10 => MYOWNSTATICBLOCK
)

Next in the COA you get !is_array() as true.

Or you mean object that misses config, cannot be passed to hook? But I see that hook expects $conf by definition, so object must have it.

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"


More information about the TYPO3-team-core mailing list