onOffice WP Plugin

AdminPageEstateDetail extends AdminPageAjax
in package

Table of Contents

ENQUEUE_DATA_MERGE  = 'merge'
EXCLUDE_FIELD  = 'exclude'
FORM_VIEW_ACCESS_CONTROL  = 'viewaccesscontrol'
FORM_VIEW_ADDITIONAL_MEDIA  = 'viewdocumenttypes'
FORM_VIEW_CONTACT_DATA_FIELDS  = 'viewcontactdatafields'
FORM_VIEW_LAYOUT_DESIGN  = 'viewlayoutdesign'
FORM_VIEW_PICTURE_TYPES  = 'viewpicturetypes'
FORM_VIEW_SORTABLE_FIELDS_CONFIG  = 'viewSortableFieldsConfig'
VIEW_SAVE_FAIL_MESSAGE  = 'view_save_fail_message'
VIEW_SAVE_SUCCESSFUL_MESSAGE  = 'view_save_success_message'
$_formModels  : array<string|int, FormModel>
$_pageSlug  : string
$_pContainer  : Container
__construct()  : mixed
addAdminNoticeWrapper()  : mixed
rest will be added via js
checkForms()  : mixed
doExtraEnqueues()  : mixed
generatePageMainTitle()  : mixed
getEnqueueData()  : array<string|int, mixed>
getFormModelByGroupSlug()  : FormModel
getFormModels()  : array<string|int, FormModel>
getPageSlug()  : string
handleAdminNotices()  : mixed
preOutput()  : mixed
render()  : mixed
renderContent()  : mixed
save_form()  : mixed
Entry point for AJAX.
transformPostValues()  : array<string|int, mixed>
addFormModel()  : mixed
buildForms()  : mixed
createMetaBoxByForm()  : mixed
generateAccordionBoxes()  : mixed
generateAccordionBoxesContactPerson()  : mixed
getContainer()  : Container
readFieldnamesByContent()  : array<string|int, mixed>
addFieldsConfiguration()  : mixed
generateMetaBoxes()  : mixed
getSpecialDivId()  : string
readAllFields()  : FieldsCollection

Constants

ENQUEUE_DATA_MERGE

public mixed ENQUEUE_DATA_MERGE = 'merge'

FORM_VIEW_CONTACT_DATA_FIELDS

public mixed FORM_VIEW_CONTACT_DATA_FIELDS = 'viewcontactdatafields'

FORM_VIEW_SORTABLE_FIELDS_CONFIG

public mixed FORM_VIEW_SORTABLE_FIELDS_CONFIG = 'viewSortableFieldsConfig'

VIEW_SAVE_SUCCESSFUL_MESSAGE

public mixed VIEW_SAVE_SUCCESSFUL_MESSAGE = 'view_save_success_message'

Properties

Methods

__construct()

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

addAdminNoticeWrapper()

rest will be added via js

public addAdminNoticeWrapper() : mixed
Return values
mixed

checkForms()

public checkForms() : mixed
Return values
mixed

generatePageMainTitle()

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

getEnqueueData()

public getEnqueueData() : array<string|int, mixed>
Return values
array<string|int, mixed>

getPageSlug()

public getPageSlug() : string
Return values
string

preOutput()

public preOutput() : mixed
Return values
mixed

save_form()

Entry point for AJAX.

public save_form() : mixed

Method should end with wp_die().

Return values
mixed

transformPostValues()

public transformPostValues() : array<string|int, mixed>
Return values
array<string|int, mixed>

createMetaBoxByForm()

protected createMetaBoxByForm(FormModel $pFormModel[, string $position = 'left' ]) : mixed
Parameters
$pFormModel : FormModel
$position : string = 'left'
Return values
mixed

generateAccordionBoxesContactPerson()

protected generateAccordionBoxesContactPerson(FieldsCollection $pFieldsCollection) : mixed
Parameters
$pFieldsCollection : FieldsCollection
Tags
throws
DependencyException
throws
NotFoundException
Return values
mixed

getContainer()

protected getContainer() : Container
Return values
Container

readFieldnamesByContent()

protected readFieldnamesByContent(string $module[, FieldModuleCollection $pFieldsCollection = null ]) : array<string|int, mixed>
Parameters
$module : string
$pFieldsCollection : FieldModuleCollection = null
Tags
deprecated

use FieldsCollectionToContentFieldLabelArrayConverter instead

Return values
array<string|int, mixed>

getSpecialDivId()

private static getSpecialDivId(string $module) : string
Parameters
$module : string
Return values
string

Search results