AdminPage
extends 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
- generateSearchForm() : mixed
- getFormModelByGroupSlug() : FormModel
- getFormModels() : array<string|int, FormModel>
- getPageSlug() : string
- handleAdminNotices() : mixed
- preOutput() : mixed
- registerForms() : mixed
- render() : mixed
- renderContent() : mixed
- renders the page, but using `echo`
- addFormModel() : mixed
- getContainer() : Container
Properties
$_formModels
private
array<string|int, FormModel>
$_formModels
= array()
$_pageSlug
private
string
$_pageSlug
= null
$_pContainer
private
Container
$_pContainer
Methods
__construct()
public
__construct(string $pageSlug) : mixed
Parameters
- $pageSlug : string
Tags
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 —generateSearchForm()
public
generateSearchForm(mixed $page, mixed $button[, mixed $type = null ][, mixed $tab = null ][, mixed $id = null ]) : mixed
Parameters
- $page : mixed
- $button : mixed
- $type : mixed = null
- $tab : mixed = null
- $id : mixed = null
Return values
mixed —getFormModelByGroupSlug()
public
getFormModelByGroupSlug(string $groupSlug) : FormModel
Parameters
- $groupSlug : string
Return values
FormModel —getFormModels()
public
getFormModels() : array<string|int, FormModel>
Return values
array<string|int, FormModel> —getPageSlug()
public
getPageSlug() : string
Return values
string —handleAdminNotices()
public
handleAdminNotices() : mixed
Return values
mixed —preOutput()
public
preOutput() : mixed
Return values
mixed —registerForms()
public
registerForms() : mixed
Return values
mixed —render()
public
render() : mixed
Return values
mixed —renderContent()
renders the page, but using `echo`
public
abstract renderContent() : mixed
Return values
mixed —addFormModel()
protected
addFormModel(FormModel $pFormModel) : mixed
Parameters
- $pFormModel : FormModel
Return values
mixed —getContainer()
protected
getContainer() : Container