--- PageViewHelperOrig.php 2013-07-30 14:52:56.000000000 +0200 +++ PageViewHelper.php 2013-08-16 12:01:56.000000000 +0200 @@ -54,11 +54,12 @@ * @param string $section the anchor to be added to the URI * @param boolean $linkAccessRestrictedPages If set, links pointing to access restricted pages will still link to the page even though the page cannot be accessed. * @param boolean $absolute If set, the URI of the rendered link is absolute + * @param string $absoluteUriScheme scheme the href attribute will be prefixed with if absolute is set * @param boolean $addQueryString If set, the current query parameters will be kept in the URI * @param array $argumentsToBeExcludedFromQueryString arguments to be removed from the URI. Only active if $addQueryString = TRUE * @return string Rendered page URI */ - public function render($pageUid = NULL, array $additionalParams = array(), $pageType = 0, $noCache = FALSE, $noCacheHash = FALSE, $section = '', $linkAccessRestrictedPages = FALSE, $absolute = FALSE, $addQueryString = FALSE, array $argumentsToBeExcludedFromQueryString = array()) { + public function render($pageUid = NULL, array $additionalParams = array(), $pageType = 0, $noCache = FALSE, $noCacheHash = FALSE, $section = '', $linkAccessRestrictedPages = FALSE, $absolute = FALSE, $absoluteUriScheme = NULL, $addQueryString = FALSE, array $argumentsToBeExcludedFromQueryString = array()) { $uriBuilder = $this->controllerContext->getUriBuilder(); $uri = $uriBuilder ->setTargetPageUid($pageUid) @@ -69,6 +70,7 @@ ->setLinkAccessRestrictedPages($linkAccessRestrictedPages) ->setArguments($additionalParams) ->setCreateAbsoluteUri($absolute) + ->setAbsoluteUriScheme($absoluteUriScheme) ->setAddQueryString($addQueryString) ->setArgumentsToBeExcludedFromQueryString($argumentsToBeExcludedFromQueryString) ->build();