PagesRequest::checkScheme()

If the template requires a different scheme/protocol than what is here, then redirect to it.

This method just silently sets the $this->redirectUrl var if a redirect is needed. Note this does not work if GET vars are present in the URL -- they will be lost in the redirect.

Usage

$pagesRequest->checkScheme(Page $page);

Arguments

NameType(s)Description
$pagePage

PagesRequest methods and properties

API reference based on ProcessWire core version 3.0.251