com\setasign\SetaSite\ViewHelper
AbsoluteUri
File: /SetaSite/src/ViewHelper/AbsoluteUri.php
Class hierarchy
Summary
Properties
$pageSettings
private AbsoluteUri::$pageSettings
$requestPathPrefix
private AbsoluteUri::$requestPathPrefix
Methods
__construct()
public AbsoluteUri::__construct (
\com\setasign\SetaFramework\Bootstrap\RequestPathPrefix $requestPathPrefix,
\com\setasign\SetaSite\Page\PageSettings $pageSettings
)\com\setasign\SetaSite\Page\PageSettings $pageSettings
Constructor
Parameters
- $requestPathPrefix : \com\setasign\SetaFramework\Bootstrap\RequestPathPrefix
- $pageSettings : \com\setasign\SetaSite\Page\PageSettings
__invoke()
Gets the absolute uri
Parameters
- $uri : string
- $language : null|bool|string
If not set the actual language will be used. If false no language will be added to the uri.
