[TYPO3-dev] Why does t3lib_div::fixed_lgd_cs not have the third parameter that fixed_lgd has?

Uschi Renziehausen typo3news at otherone.de
Mon Jan 26 12:45:38 CET 2009


Hi folks,

I am currently trying to clean up dam code from deprecated function calls. One of the deprecated functions is t3lib_div::fixed_lgd used for truncating strings. Instead fixed_lgd_cs shall be used.

BUT: fixed_lgd has a third parameter that allows you to define an append string. This parameter is missing in the fixed_lgd_cs. Instead we have hardcoded '...' now with the effect that you can neither 
use another string (e.g. the horizontal elipsis … or …) nor an empty string.

Can we please have that third parameter back?

Kind regards, Uschi




More information about the TYPO3-dev mailing list