Project

General

Profile

Actions

Feature #19512

closed

Extend t3lib_div::trimExplode to limit the number of elements

Added by Oliver Hader over 15 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2008-10-27
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

Description

With t3lib_div::trimExplode it's not possible to limit the number of elements that are returned.

The solution is to introduce a new argument $limit and to define trimExplode to behave similar to PHP's explode function.

(issue imported from #M9656)


Files

0009656.patch (1.12 KB) 0009656.patch Administrator Admin, 2008-10-27 23:42

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #19497: Integrate possibility to extend TCEforms palettes easilyClosedOliver Hader2008-10-22

Actions
Actions #1

Updated by Oliver Hader over 15 years ago

Committed to SVN Trunk (rev. 4356)

Actions

Also available in: Atom PDF