[TYPO3-core] RFC: #15822: t3lib_beFunc use $this in static methods

Susanne Moog info at susannemoog.de
Fri Oct 15 10:54:38 CEST 2010


On 10.10.2010 18:56, Steffen Kamper wrote:
> Hi,
> 
> as Susanne mentioned, t3lib_div::callUserFunction needs a reference
> parameter as 3rd parameter, so using NULL direct won't work.
> Solution: create a var that is NULL.
> 
> v2 is attached

attached a really small test extension (just uses label_userFunc for
tt_content, var_dumps the params and dies...)

test with going to the list module on a page with content elements...

susanne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testinguserfunc.tar.gz
Type: application/x-gzip
Size: 1214 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101015/e19c96a4/attachment.bin>


More information about the TYPO3-team-core mailing list