Actions
Task #49575
closedSplit up typolink() functionality in multiple methods
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-07-02
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
The cObj->typolink() method is one of the biggest code chunks in the CMS core, and one of the most central ones for the frontend. However, it is hard to test, debug and understand. That's why certain separate parts can be split up in multiple methods.
The first step provides the following changes:
- More readable variables within the method
- Split up the detection, whether it is a mail link, external url in a separate method
- Split up the string explode functionality of "23 - myclass" into a separate method
Actions