PHP Class Neos\FluidAdaptor\ViewHelpers\Uri\ExternalViewHelper

Currently the specified URI is simply passed through. = Examples = https://www.neos.io sftp://neos.io
Inheritance: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper
Show file Open project: neos/flow-development-collection

Public Methods

Method Description
render ( string $uri, string $defaultScheme = 'http' ) : string

Method Details

render() public method

public render ( string $uri, string $defaultScheme = 'http' ) : string
$uri string target URI
$defaultScheme string scheme the href attribute will be prefixed with if specified $uri does not contain a scheme already
return string Rendered URI