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
$_ajaxHooks
private
array<string|int, string>
$_ajaxHooks
= array()
$_pAdminListViewSettings
private
AdminPageEstateListSettings
$_pAdminListViewSettings
= null
$_pAdminListViewSettingsAddress
private
AdminPageAddressListSettings
$_pAdminListViewSettingsAddress
= null
$_pAdminPageEstates
private
AdminPageEstate
$_pAdminPageEstates
= null
$_pAdminPageFormSettings
private
AdminPageFormSettingsMain
$_pAdminPageFormSettings
= null
$_pAdminUnitListSettings
private
AdminPageEstateUnitList
$_pAdminUnitListSettings
= null
$_pageSlug
private
string
$_pageSlug
= 'onoffice'
Methods
add_actions()
public
add_actions() : mixed
Tags
Return values
mixed —disableHideMetaboxes()
public
disableHideMetaboxes() : mixed
Return values
mixed —displayAPIError()
public
displayAPIError() : 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 —enqueue_css()
public
enqueue_css() : mixed
Return values
mixed —enqueueExtraJs()
public
enqueueExtraJs(string $hook) : mixed
Parameters
- $hook : string
Return values
mixed —generalAdminNoticeSEO()
public
generalAdminNoticeSEO() : mixed
Return values
mixed —getField()
public
getField() : mixed
Return values
mixed —getPluginSEOActive()
public
getPluginSEOActive() : array<string|int, mixed>
Return values
array<string|int, mixed> —getRecordManagerReadForm()
public
getRecordManagerReadForm() : mixed
Return values
mixed —onInit()
public
onInit() : mixed
Return values
mixed —pluginSettingsLink()
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