Issue Feature Closed

#25046Allow the usage of t3lib_befunc::getProcessedValue() in the frontend

Dominique Feyer 02/15/11, 16:34 updated 12/16/14, 19:06

Description

The separation between BE and FE is sometime a big issue in some projet. I supply a little patch to allow the use of t3lib_befunc::getProcessedValue() in a frontend extension. The idea is not to port all the BE API to the FE, but a coding a copy of getProcessedValue in FE it’s not a good option.

The proposed patch simply add a proxy method t3lib_befunc::sL to switch between $LANG->sL and $TSFE->sL depending on TYPO3_MODE

(issue imported from #M17601)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.