UrlLinkHandler implements LinkHandlingInterface
Resolves URLs (simple, no magic needed)
Table of Contents
Interfaces
- LinkHandlingInterface
 - Interface for classes which are transforming a tag link hrefs to records or resources basically any URLs that should not be saved directly in the database on as is basis since they might be moved, changed by admin working in backend
 
Methods
- asString() : string
 - Returns the URL as given
 - getDefaultScheme() : non-empty-string
 - Returns the scheme (e.g. `http`) to be used for links with URLs without a scheme, e.g., for `www.example.com`.
 - resolveHandlerData() : array<string|int, mixed>
 - Returns the URL as is
 - addHttpSchemeAsFallback() : string
 - Ensures that a scheme is always added, if www.typo3.org was added previously.
 
Methods
asString()
Returns the URL as given
    public
                    asString(array<string|int, mixed> $parameters) : string
    Parameters
- $parameters : array<string|int, mixed>
 
Return values
stringgetDefaultScheme()
Returns the scheme (e.g. `http`) to be used for links with URLs without a scheme, e.g., for `www.example.com`.
    public
            static        getDefaultScheme() : non-empty-string
    Return values
non-empty-stringresolveHandlerData()
Returns the URL as is
    public
                    resolveHandlerData(array<string|int, mixed> $data) : array<string|int, mixed>
    Parameters
- $data : array<string|int, mixed>
 - 
                    
(needs 'url') inside
 
Return values
array<string|int, mixed>addHttpSchemeAsFallback()
Ensures that a scheme is always added, if www.typo3.org was added previously.
    protected
                    addHttpSchemeAsFallback(string $url) : string
    Parameters
- $url : string
 - 
                    
the URL