\rex_be_controller

Summary

Methods
Properties
Constants
setCurrentPage()
getCurrentPage()
getCurrentPagePart()
getCurrentPageObject()
getPageObject()
getPages()
setPages()
getPageTitle()
getSetupPage()
getLoginPage()
appendLoggedInPages()
appendPackagePages()
checkPagePermissions()
includeCurrentPage()
includeCurrentPageSubPath()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

setCurrentPage()

setCurrentPage(string  $page) : mixed

Parameters

string $page

Returns

mixed —

getCurrentPage()

getCurrentPage() : string

Returns

string —

getCurrentPagePart()

getCurrentPagePart(mixed  $part = null, null|string  $default = null) : string[]|string|null

Parameters

mixed $part
null|string $default

Default value

Returns

string[]|string|null —

getCurrentPageObject()

getCurrentPageObject() : \rex_be_page|null

Returns

\rex_be_page|null —

getPageObject()

getPageObject(string|array  $page) : \rex_be_page|null

Parameters

string|array $page

Returns

\rex_be_page|null —

getPages()

getPages() : array<string,\rex_be_page>

Returns

array

setPages()

setPages(array<string,\rex_be_page>  $pages) : mixed

Parameters

array $pages

Returns

mixed —

getPageTitle()

getPageTitle() : string

Returns

string —

getSetupPage()

getSetupPage() : \rex_be_page

Returns

\rex_be_page —

getLoginPage()

getLoginPage() : \rex_be_page

Returns

\rex_be_page —

appendLoggedInPages()

appendLoggedInPages() : mixed

Returns

mixed —

appendPackagePages()

appendPackagePages() : mixed

Returns

mixed —

checkPagePermissions()

checkPagePermissions(\rex_user  $user) : mixed

Parameters

\rex_user $user

Returns

mixed —

includeCurrentPage()

includeCurrentPage() : mixed

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

Returns

mixed —

includeCurrentPageSubPath()

includeCurrentPageSubPath(array  $context = []) : mixed

Includes the sub-path of current page.

Parameters

array $context

Returns

mixed —