AdminPageEstate
extends AdminPage
in package
Tags
Table of Contents
- PAGE_ESTATE_DETAIL = 'detail'
- PAGE_ESTATE_LIST = 'list'
- PAGE_ESTATE_UNITS = 'units'
- PAGE_SIMILAR_ESTATES = 'similar-estates'
- PARAM_TAB = 'tab'
- $_formModels : array<string|int, FormModel>
- $_pageSlug : string
- $_pContainer : Container
- $_pSelectedTab : AdminPage
- $_subPageClassByTab : array<string|int, string>
- $_tabs : array<string|int, mixed>
- __construct() : mixed
- doExtraEnqueues() : mixed
- generatePageMainTitle() : mixed
- generateSearchForm() : mixed
- getFormModelByGroupSlug() : FormModel
- getFormModels() : array<string|int, FormModel>
- getPageSlug() : string
- getSelectedAdminPage() : AdminPage
- handleAdminNotices() : mixed
- preOutput() : mixed
- registerForms() : mixed
- render() : mixed
- renderContent() : mixed
- addFormModel() : mixed
- getContainer() : Container
- getAdminPageForTab() : AdminPage
- getDefaultTab() : string
- getSelectedTab() : string
Constants
PAGE_ESTATE_DETAIL
public
mixed
PAGE_ESTATE_DETAIL
= 'detail'
PAGE_ESTATE_LIST
public
mixed
PAGE_ESTATE_LIST
= 'list'
PAGE_ESTATE_UNITS
public
mixed
PAGE_ESTATE_UNITS
= 'units'
PAGE_SIMILAR_ESTATES
public
mixed
PAGE_SIMILAR_ESTATES
= 'similar-estates'
PARAM_TAB
public
mixed
PARAM_TAB
= 'tab'
Properties
$_formModels
private
array<string|int, FormModel>
$_formModels
= array()
$_pageSlug
private
string
$_pageSlug
= null
$_pContainer
private
Container
$_pContainer
$_pSelectedTab
private
AdminPage
$_pSelectedTab
= null
$_subPageClassByTab
private
array<string|int, string>
$_subPageClassByTab
= array(self::PAGE_ESTATE_LIST => \onOffice\WPlugin\Gui\AdminPageEstateList::class, self::PAGE_ESTATE_DETAIL => \onOffice\WPlugin\Gui\AdminPageEstateDetail::class, self::PAGE_SIMILAR_ESTATES => \onOffice\WPlugin\Gui\AdminPageSimilarEstates::class, self::PAGE_ESTATE_UNITS => \onOffice\WPlugin\Gui\AdminPageEstateUnitList::class)
$_tabs
private
array<string|int, mixed>
$_tabs
= array()
Methods
__construct()
public
__construct(string $pageSlug) : mixed
Parameters
- $pageSlug : string
Return values
mixed —doExtraEnqueues()
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 —getSelectedAdminPage()
public
getSelectedAdminPage() : AdminPage
Return values
AdminPage —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()
public
renderContent() : mixed
Return values
mixed —addFormModel()
protected
addFormModel(FormModel $pFormModel) : mixed
Parameters
- $pFormModel : FormModel
Return values
mixed —getContainer()
protected
getContainer() : Container
Return values
Container —getAdminPageForTab()
private
getAdminPageForTab(string $tab) : AdminPage
Parameters
- $tab : string
Return values
AdminPage —getDefaultTab()
private
getDefaultTab() : string
Return values
string —getSelectedTab()
private
getSelectedTab() : string