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

Susanne Moog typo3 at susannemoog.de
Mon Jan 26 19:34:59 CET 2009


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 '...'.

+1 by reading,


Susanne


More information about the TYPO3-team-core mailing list