onOffice WP Plugin

AdminPageBase
in package

Table of Contents

$_formModels  : array<string|int, FormModel>
$_pageSlug  : string
$_pContainer  : Container
__construct()  : mixed
doExtraEnqueues()  : mixed
place extra wp_enqueue_script() and wp_enqueue_style() only for this page
generatePageMainTitle()  : mixed
getFormModelByGroupSlug()  : FormModel
getFormModels()  : array<string|int, FormModel>
getPageSlug()  : string
handleAdminNotices()  : mixed
preOutput()  : mixed
render()  : mixed
renderContent()  : mixed
renders the page, but using `echo`
addFormModel()  : mixed
getContainer()  : Container

Properties

Methods

__construct()

public __construct(string $pageSlug) : mixed
Parameters
$pageSlug : string
Tags
throws
Exception
Return values
mixed

doExtraEnqueues()

place extra wp_enqueue_script() and wp_enqueue_style() only for this page

public doExtraEnqueues() : mixed
Return values
mixed

generatePageMainTitle()

public generatePageMainTitle(string $subTitle) : mixed
Parameters
$subTitle : string
Return values
mixed

getPageSlug()

public getPageSlug() : string
Return values
string

handleAdminNotices()

public handleAdminNotices() : mixed
Return values
mixed

preOutput()

public preOutput() : mixed
Return values
mixed

renderContent()

renders the page, but using `echo`

public abstract renderContent() : mixed
Return values
mixed

getContainer()

protected getContainer() : Container
Return values
Container

Search results