[TYPO3-dev] xclassing static function call in mm_forum
Krystian Szymukowicz
t33k.RE.MO.VE at RE.MO.VE.prolabium.com
Tue Aug 25 18:19:54 CEST 2009
Franz Koch wrote:
> Hi,
>
>> In extension "mm_forum" there is quite a lot static call function
>> which looks like this:
>>
>> tx_mmforum_postfunctions_mod::list_post('',$conf,'DESC');
>>
>> I am trying to XCLASS them but it doesn't work.
> ....
>> Is it possible to overwrite such static calls?
>
> you can't XCLASS a static method call.
Are there any special reason to use static call like this?
This maybe looks nice but is not expendable.
> If you need to manipulate something there, have
> a look for hooks or request one at the point you
> need it.
>
Thanks. I know. I use them whenever possible but sometimes requirements
are too specific to request a hook for this so xclass is perfect for
such cases.
Unfortunately, as you said, mm_forum makes xclassing of this static
calls impossible :(
--
grtz
Krystian Szymukowicz
More information about the TYPO3-dev
mailing list