[TYPO3] debugData returns an empty array
Dmitry Dulepov
dmitry at typo3.org
Mon Oct 30 14:36:11 CET 2006
Hi!
Søren Schimkat wrote:
> Anyway .. I'm trying to get debugData to return a list of available
> variables - but all I get is an empty array:
>
> $cObj->data:
>
> .. and that's basicly it. The code looks like this:
>
> page = PAGE
> page.typeNum = 0
> page.10 = USER
> page.10.userFunc = tx_templavoila_pi1->main_page
> page.20 = TEXT
> page.20.debugData = 1
>
> Could someone please tell me what I'm doing wrong?
All is correct. You are trying to output debug information for page.20
object, which is obviously empty :)
--
Dmitry Dulepov
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
More information about the TYPO3-english
mailing list