[TYPO3-core] RFC: #4155 / userFunc in conditions / t3lib_div::callUserFunction

Dmitry Dulepov typo3 at accio.lv
Fri Sep 8 07:22:06 CEST 2006


Hi!

Wolfgang Klinger wrote:
>  I found another problem here (don't know why it didn't come up
>  by my first tests).
> 
>  includeLibs.something = something
> 
>  is processed after(!) the TypoScript template is parsed, so we have no
>  such libraries (= classes) available at this time.
>  All this happens in typo3/sysext/cms/tslib/index_ts.php
>  (search for "getConfigArray", pagegen.php which does the inclusion is
>  included afterwards)
...

>  The following two work:
> ---------
> # function defined in localconf.php, this was the only form before
> [userFunc = user_testfunc(params)]
> # absolute path to extension, file, class, method
> [userFunc = EXT:user_banner/test.php:user_test->testfunc(params)]
> ---------
> 
>  Is that sufficient?

Yes, why not? I think the second syntax must be mentioned in TSRef (send 
doc change to Stucki!)

-- 
Dmitry Dulepov
http://typo3bloke.net/

"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-team-core mailing list