[TYPO3-core] RFC #10272: t3lib_div::fixed_lgd_cs needs a third parameter for appending a custom string to a truncated string

Steffen Kamper info at sk-typo3.de
Tue Jan 27 10:32:02 CET 2009


Hi,

committed to trunk, rev 4867

vg Steffen

Uschi Renziehausen schrieb:
> This is an SVN patch request.
> 
> Type: Bugfix / Feature
> 
> Bugtracker references: http://bugs.typo3.org/view.php?id=10263
> 
> Branches: trunk
> 
> Problem:
> 4.3 encourages developers not to use the deprecated function fixed_lgd 
> anymore. Instead, fixed_ldg_cs shall be used. The new method lacks one 
> parameter the old one had, i.e. a string that may be appended to the 
> truncated string. Instead we now have hardcoded '...' in fixed_ldg_cs.
> 
> Solution:
> Introduce a third parameter named $appendString that defaults to '...'.
> 
> Uschi
> 
> 


More information about the TYPO3-team-core mailing list