Documentation

rex_be_controller
in package

Table of Contents

Methods

appendLoggedInPages()  : void
appendPackagePages()  : void
checkPagePermissions()  : void
getCurrentPage()  : string
getCurrentPageObject()  : rex_be_page|null
getCurrentPagePart()  : array<int, string>|string|null
getLoginPage()  : rex_be_page
getPageObject()  : rex_be_page|null
getPages()  : array<string, rex_be_page>
getPageTitle()  : string
getSetupPage()  : rex_be_page
includeCurrentPage()  : void
Includes the current page. A page may be provided by the core, an addon or plugin.
includeCurrentPageSubPath()  : mixed
Includes the sub-path of current page.
requireCurrentPageObject()  : rex_be_page
setCurrentPage()  : void
setPages()  : void

Methods

appendLoggedInPages()

public static appendLoggedInPages() : void

appendPackagePages()

public static appendPackagePages() : void

getCurrentPage()

public static getCurrentPage() : string
Return values
string

getCurrentPagePart()

public static getCurrentPagePart([T $part = null ][, string|null $default = null ]) : array<int, string>|string|null
Parameters
$part : T = null

Part index, beginning with 1. If $part is null, an array of all current parts will be returned

$default : string|null = null

Default value

Tags
template

T of positive-int|null

psalm-return

(T is null ? list : string|null)

Return values
array<int, string>|string|null

getPageObject()

public static getPageObject(string|array<int, string> $page) : rex_be_page|null
Parameters
$page : string|array<int, string>
Return values
rex_be_page|null

getPageTitle()

public static getPageTitle() : string
Return values
string

includeCurrentPage()

Includes the current page. A page may be provided by the core, an addon or plugin.

public static includeCurrentPage() : void

includeCurrentPageSubPath()

Includes the sub-path of current page.

public static includeCurrentPageSubPath([array<string|int, mixed> $context = [] ]) : mixed
Parameters
$context : array<string|int, mixed> = []

setCurrentPage()

public static setCurrentPage(string $page) : void
Parameters
$page : string

        
On this page

Search results