[TYPO3-dev] Getting id of the page
Martin Ficzel
martin.ficzel at gmx.de
Fri Aug 25 09:58:04 CEST 2006
Tapio Markula schrieb:
> Hi
>
> I would need for function 'docStyle()' for class.ux_template.php
>
> the id of the page, which has been opened.
> I tried to get it from $_GET parameter
did you have a look at the $GLOBALS['TSFE'] object;
t3lib_div::debug($GLOBALS['TSFE']);
as far as i remember $GLOBALS['TSFE']->id is what you need.
another important function is t3lib_div.getIndpEnv
regards Martin
More information about the TYPO3-dev
mailing list