[TYPO3-core] RFC: #15686: Call the list module through the dispatcher instead directly
Benjamin Mack
benni at typo3.org
Sun Sep 19 22:58:15 CEST 2010
Hey Helmut,
On 19.09.10 17:57, Helmut Hummel wrote:
> Well, it is in t3lib_extMgm already, I only changed the signature a bit.
> However I agree, that this is probably not the right place.
Yes. t3lib_extMgm is loaded at *any* TYPO3 call made, and this function
just doesn't belong there.
> Something like this:
>
> public static function getRelativeModuleUrl($moduleName);
>
> Do you agree with the name or have a better idea?
getModuleUrl($moduleName)
and maybe with a second parameter "$returnAbsoluteUrl = FALSE" :)
> Where do such a method belong to? I would say t3lib_BEfunc like you
> suggested. We could then also move createListViewLink there, make a
> wrapper for it in t3lib_extMgm and mark the wrapper method as
> deprecated. What do you think?
+1000
All the best,
Benni.
More information about the TYPO3-team-core
mailing list