Project

General

Profile

Actions

Bug #19918

closed

t3lib_div::fixed_lgd_cs needs a third parameter for appending a custom string to a truncated string

Added by Uschi Renziehausen over 15 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-01-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

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

Patch is attached.

(issue imported from #M10272)


Files

10272_fixed_lgd_cs_params.patch (1.36 KB) 10272_fixed_lgd_cs_params.patch Administrator Admin, 2009-01-26 18:23
10272_fixed_lgd_cs_params_v2.patch (1.68 KB) 10272_fixed_lgd_cs_params_v2.patch Administrator Admin, 2009-01-26 20:24
Actions

Also available in: Atom PDF