PagesRequest::checkScheme() PagesRequest::checkScheme(Page $page) PagesRequest::checkScheme(Page $page) | (nothing) | If the template requires a different scheme/protocol than what is here, then redirect to it. | |
PagesRequest::getClosestPage() PagesRequest::getClosestPage() PagesRequest::getClosestPage() | Page NullPage | Get closest matching page when getPage() returns an error/NullPage | |
PagesRequest::getFile() PagesRequest::getFile() PagesRequest::getFile() | string | Get the requested file | |
PagesRequest::getLanguageName() PagesRequest::getLanguageName() PagesRequest::getLanguageName() | string | Get request language name | |
PagesRequest::getLoginPageOrUrl() PagesRequest::getLoginPageOrUrl() PagesRequest::getLoginPageOrUrl($page = null) | string Page null | Get login Page object or URL to redirect to for login needed to access given $page | |
PagesRequest::getPage() PagesRequest::getPage() PagesRequest::getPage(array $options = []) | Page NullPage | Get the requested page | |
PagesRequest::getPageForUser() PagesRequest::getPageForUser(Page $page, User $user) PagesRequest::getPageForUser(Page $page, User $user) | Page NullPage | Update/get page for given user | |
PagesRequest::getPageNum() PagesRequest::getPageNum() PagesRequest::getPageNum() | null int | Get the requested pagination number | |
PagesRequest::getPageNumPrefix() PagesRequest::getPageNumPrefix() PagesRequest::getPageNumPrefix() | null string | Get the requested pagination number prefix | |
PagesRequest::getRedirectType() PagesRequest::getRedirectType() PagesRequest::getRedirectType() | int | Get the redirect type (0, 301, 302, 307, 308) | |
PagesRequest::getRedirectUrl() PagesRequest::getRedirectUrl() PagesRequest::getRedirectUrl() | string | Get the redirect URL | |
PagesRequest::getRequestFile() PagesRequest::getRequestFile() PagesRequest::getRequestFile() | string | Get the requested file (alias of getFile method) | |
PagesRequest::getRequestPage() PagesRequest::getRequestPage() PagesRequest::getRequestPage() | NullPage Page | Get page that was requested | |
PagesRequest::getRequestPath() PagesRequest::getRequestPath() PagesRequest::getRequestPath() | string | Get request path | |
PagesRequest::getResponseCode() PagesRequest::getResponseCode() PagesRequest::getResponseCode() | int | Get response http code for this request | |
PagesRequest::getResponseCodeName() PagesRequest::getResponseCodeName() PagesRequest::getResponseCodeName() | string | Get response type name for this request | |
PagesRequest::getResponseCodeNames() PagesRequest::getResponseCodeNames() PagesRequest::getResponseCodeNames() | array | Get all possible response code names indexed by http response code | |
PagesRequest::getResponseError() PagesRequest::getResponseError() PagesRequest::getResponseError() | string | Get message about response only if response was an error, blank otherwise | |
PagesRequest::getResponseMessage() PagesRequest::getResponseMessage() PagesRequest::getResponseMessage() | string | Get message string about response | |
PagesRequest::setPage() PagesRequest::setPage($page) PagesRequest::setPage($page) | Page NullPage null | Set current request page | |
PagesRequest::setRedirectPath() PagesRequest::setRedirectPath(string $redirectPath) PagesRequest::setRedirectPath(string $redirectPath, int $type = 301) | (nothing) | Set the redirect path | |
PagesRequest::setRedirectUrl() PagesRequest::setRedirectUrl(string $redirectUrl) PagesRequest::setRedirectUrl(string $redirectUrl, int $type = 301) | (nothing) | Set the redirect URL | |
PagesRequest::setRequestPath() PagesRequest::setRequestPath(string $requestPath) PagesRequest::setRequestPath(string $requestPath) | (nothing) | Set request path | |
PagesRequest::setResponseMessage() PagesRequest::setResponseMessage(string $message) PagesRequest::setResponseMessage(string $message, bool $append = false) | (nothing) | Set response message | |