onOffice WP Plugin

AdminViewController
in package

Table of Contents

$_ajaxHooks  : array<string|int, string>
$_pAdminListViewSettings  : AdminPageEstateListSettings
$_pAdminListViewSettingsAddress  : AdminPageAddressListSettings
$_pAdminPageEstates  : AdminPageEstate
$_pAdminPageFormSettings  : AdminPageFormSettingsMain
$_pAdminUnitListSettings  : AdminPageEstateUnitList
$_pageSlug  : string
add_actions()  : mixed
disableHideMetaboxes()  : mixed
displayAPIError()  : mixed
displayDeactivateDuplicateCheckWarning()  : mixed
displayUsingEmptyDefaultEmailError()  : mixed
enqueue_ajax()  : mixed
enqueue_css()  : mixed
enqueueExtraJs()  : mixed
generalAdminNoticeSEO()  : mixed
getField()  : mixed
getPluginSEOActive()  : array<string|int, mixed>
getRecordManagerReadForm()  : mixed
onInit()  : mixed
pluginSettingsLink()  : array<string|int, mixed>
register_menu()  : mixed
Important note: - pages usually use the load-(page) hook for handleAdminNotices() but - ajax pages use it in order to pre-generate the form model.
getObjectByHook()  : AdminPageBase
Todo: Delete if pages are being registered and accessible from a member variable by hook

Properties

Methods

add_actions()

public add_actions() : mixed
Tags
throws
Exception
Return values
mixed

disableHideMetaboxes()

public disableHideMetaboxes() : mixed
Return values
mixed

displayDeactivateDuplicateCheckWarning()

public displayDeactivateDuplicateCheckWarning() : mixed
Return values
mixed

displayUsingEmptyDefaultEmailError()

public displayUsingEmptyDefaultEmailError() : mixed
Return values
mixed

enqueue_ajax()

public enqueue_ajax(string $hook) : mixed
Parameters
$hook : string
Return values
mixed

enqueueExtraJs()

public enqueueExtraJs(string $hook) : mixed
Parameters
$hook : string
Return values
mixed

generalAdminNoticeSEO()

public generalAdminNoticeSEO() : mixed
Return values
mixed

getPluginSEOActive()

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

getRecordManagerReadForm()

public getRecordManagerReadForm() : mixed
Return values
mixed
public pluginSettingsLink(array<string|int, mixed> $links) : array<string|int, mixed>
Parameters
$links : array<string|int, mixed>
Return values
array<string|int, mixed>

register_menu()

Important note: - pages usually use the load-(page) hook for handleAdminNotices() but - ajax pages use it in order to pre-generate the form model.

public register_menu() : mixed
  • page slugs must be chosen according to WP's sanitize_key() function because of wp_ajax_closed_postboxes()
Return values
mixed

getObjectByHook()

Todo: Delete if pages are being registered and accessible from a member variable by hook

private getObjectByHook(string $hook) : AdminPageBase
Parameters
$hook : string
Tags
global

WP_Hook[] $wp_filter

Return values
AdminPageBase

Search results