This class is meant for manipulating URLs and anchor tags in HTML code and text strings.
The class can:
- Process text strings to detect HTTP, HTTPS and FTP URLs and convert them into HTML links.
- Remove any links from HTML code
- Validate text strings to determine whether they contain valid URLs
- Append additional parameters to URLs of links in HTML code
- Convert image HTML tags into links to image URLs
It is mainly used for parsing strings to activate URLS, or to tag external links with an icon indicating that they are off site. |