[TYPO3-core] RFC #10272: t3lib_div::fixed_lgd_cs needs a third parameter for appending a custom string to a truncated string
Martin Kutschker
martin.kutschker-n0spam at no5pam-blackbox.net
Tue Jan 27 09:06:04 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.
As function t3lib_div::fixed_lgd_cs() is only a wrapper for
t3lib_cs::crop() there's no real demand for it IMHO.
But it won't do much harm to add the parameter.
Masi
More information about the TYPO3-team-core
mailing list