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
checkPagePermissions()
public
static checkPagePermissions(rex_user $user) : void
Parameters
- $user : rex_user
getCurrentPage()
public
static getCurrentPage() : string
Return values
stringgetCurrentPageObject()
public
static getCurrentPageObject() : rex_be_page|null
Return values
rex_be_page|nullgetCurrentPagePart()
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
Return values
array<int, string>|string|nullgetLoginPage()
public
static getLoginPage() : rex_be_page
Return values
rex_be_pagegetPageObject()
public
static getPageObject(string|array<int, string> $page) : rex_be_page|null
Parameters
- $page : string|array<int, string>
Return values
rex_be_page|nullgetPages()
public
static getPages() : array<string, rex_be_page>
Return values
array<string, rex_be_page>getPageTitle()
public
static getPageTitle() : string
Return values
stringgetSetupPage()
public
static getSetupPage() : rex_be_page
Return values
rex_be_pageincludeCurrentPage()
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> = []
requireCurrentPageObject()
public
static requireCurrentPageObject() : rex_be_page
Return values
rex_be_pagesetCurrentPage()
public
static setCurrentPage(string $page) : void
Parameters
- $page : string
setPages()
public
static setPages(array<string, rex_be_page> $pages) : void
Parameters
- $pages : array<string, rex_be_page>