[TYPO3-dev] xclassing static function call in mm_forum
Krystian Szymukowicz
t33k.RE.MO.VE at RE.MO.VE.prolabium.com
Tue Aug 25 17:32:08 CEST 2009
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.
I think I do everything like it should be, so I put in ext_localconf.php:
$TYPO3_CONF_VARS[TYPO3_MODE]["XCLASS"]["ext/mm_forum/pi1/class.tx_mmforum_postfunctions.php"]
=t3lib_extMgm::extPath($_EXTKEY).'mm_forum/pi1/class.ux_tx_mmforum_postfunctions.php';
Then my file in mm_forum/pi1/class.ux_tx_mmforum_postfunctions.php:
<?php
class ux_tx_mmforum_postfunctions extends tx_mmforum_postfunctions {
function list_post($content, $conf, $order) {
return 'test';
}
}
?>
Is it possible to overwrite such static calls?
--
grtz
Krystian Szymukowicz
More information about the TYPO3-dev
mailing list