[TYPO3-dev] How to overwrite a class.t3lib_function?
Ernesto Baschny [cron IT]
ernst at cron-it.de
Mon May 29 15:55:33 CEST 2006
Thomas Grabietz schrieb am 29.05.2006 15:49:
> I would like to use multilingual aliases. I've extended my
> page_language_overlay table, but the alias field is not looked up in the
> getPageIdFromAlias($alias) function:
>
> function getPageIdFromAlias($alias) {
> (...)
>
> It's not so dificult to extend this function (to make also a query for the
> alias of the page_language_overlay table), but I don't want to do this in the
> source-code. Is it possible to overwrite the function in an extension? Or any
> other ideas to solve the problem?
This is for what XCLASS is for. You can extend/modify any class in TYPO3
in your own extension.
Read [1] for more info about it.
Cheers,
Ernesto
[1]
http://typo3.org/documentation/document-library/core-documentation/doc_core_api/current/view/3/7/
More information about the TYPO3-dev
mailing list