#49575Split up typolink() functionality in multiple methods
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