Constants

PLACE_COMMON

PLACE_COMMON

PLACE_ADMIN_HOME

PLACE_ADMIN_HOME

PLACE_RESELLER_HOME

PLACE_RESELLER_HOME

PLACE_CUSTOMER_HOME

PLACE_CUSTOMER_HOME

PLACE_ADMIN_TOOLS_AND_SETTINGS

PLACE_ADMIN_TOOLS_AND_SETTINGS

PLACE_RESELLER_TOOLS_AND_SETTINGS

PLACE_RESELLER_TOOLS_AND_SETTINGS

PLACE_HOSTING_PANEL_NAVIGATION

PLACE_HOSTING_PANEL_NAVIGATION

PLACE_DOMAIN

PLACE_DOMAIN

PLACE_DOMAIN_PROPERTIES

PLACE_DOMAIN_PROPERTIES

PLACE_TOOLBAR

PLACE_TOOLBAR

PLACE_LIST_ACTIONS

PLACE_LIST_ACTIONS

PLACE_ADMIN_NAVIGATION

PLACE_ADMIN_NAVIGATION

PLACE_RESELLER_NAVIGATION

PLACE_RESELLER_NAVIGATION

PLACE_HOSTING_PANEL_TABS

PLACE_HOSTING_PANEL_TABS

PLACE_HEADER_NAVIGATION

PLACE_HEADER_NAVIGATION

PLACE_DOMAIN_PROPERTIES_DYNAMIC

PLACE_DOMAIN_PROPERTIES_DYNAMIC

SECTION_RESELLER_TOOLS_SERVICES

SECTION_RESELLER_TOOLS_SERVICES

SECTION_RESELLER_TOOLS_RESOURCES

SECTION_RESELLER_TOOLS_RESOURCES

SECTION_RESELLER_TOOLS_PLESK_MANAGEMENT

SECTION_RESELLER_TOOLS_PLESK_MANAGEMENT

SECTION_RESELLER_TOOLS_ADDITIONAL_SERVICES

SECTION_RESELLER_TOOLS_ADDITIONAL_SERVICES

SECTION_ADMIN_TOOLS_MAIL

SECTION_ADMIN_TOOLS_MAIL

SECTION_ADMIN_TOOLS_PLESK

SECTION_ADMIN_TOOLS_PLESK

SECTION_ADMIN_TOOLS_GENERAL

SECTION_ADMIN_TOOLS_GENERAL

SECTION_ADMIN_TOOLS_SECURITY

SECTION_ADMIN_TOOLS_SECURITY

SECTION_ADMIN_TOOLS_APPEARANCE

SECTION_ADMIN_TOOLS_APPEARANCE

SECTION_ADMIN_TOOLS_STATISTICS

SECTION_ADMIN_TOOLS_STATISTICS

SECTION_ADMIN_TOOLS_APPS_AND_DBS

SECTION_ADMIN_TOOLS_APPS_AND_DBS

SECTION_ADMIN_TOOLS_EXTERNAL_SERVICES

SECTION_ADMIN_TOOLS_EXTERNAL_SERVICES

SECTION_ADMIN_TOOLS_SERVER_MANAGEMENT

SECTION_ADMIN_TOOLS_SERVER_MANAGEMENT

SECTION_ADMIN_TOOLS_ADDITIONAL_SERVICES

SECTION_ADMIN_TOOLS_ADDITIONAL_SERVICES

SECTION_ADMIN_TOOLS_TOOLS_AND_RESOURCES

SECTION_ADMIN_TOOLS_TOOLS_AND_RESOURCES

SECTION_ADMIN_TOOLS_TROUBLESHOOTING_BUTTONS

SECTION_ADMIN_TOOLS_TROUBLESHOOTING_BUTTONS

SECTION_NAV_GENERAL

SECTION_NAV_GENERAL

SECTION_NAV_HOSTING

SECTION_NAV_HOSTING

SECTION_NAV_PROFILE

SECTION_NAV_PROFILE

SECTION_NAV_ADDITIONAL

SECTION_NAV_ADDITIONAL

SECTION_NAV_SERVER_MANAGEMENT

SECTION_NAV_SERVER_MANAGEMENT

SECTION_DOMAIN_PROPS_DYNAMIC_FILES_AND_DATABASES

SECTION_DOMAIN_PROPS_DYNAMIC_FILES_AND_DATABASES

SECTION_DOMAIN_PROPS_DYNAMIC_DEV_TOOLS

SECTION_DOMAIN_PROPS_DYNAMIC_DEV_TOOLS

SECTION_DOMAIN_PROPS_DYNAMIC_SECURITY

SECTION_DOMAIN_PROPS_DYNAMIC_SECURITY

SECTION_DOMAIN_PROPS_DYNAMIC_MAIL

SECTION_DOMAIN_PROPS_DYNAMIC_MAIL

SECTION_DOMAIN_PROPS_DYNAMIC_HOSTING

SECTION_DOMAIN_PROPS_DYNAMIC_HOSTING

Methods

getButtons()

getButtons() : array

Retrieve the list of buttons

[
    [
        'place' => self::PLACE_DOMAIN_PROPERTIES_DYNAMIC,
        'section' => self::SECTION_DOMAIN_PROPS_DYNAMIC_DEV_TOOLS,
        'title' => 'Example Button',
        'description' => 'Description for example button',
        'icon' => pm_Context::getBaseUrl() . 'images/icon.png',
        'link' => pm_Context::getBaseUrl() . 'index.php/index/index',
        'newWindow' => false,
        'contextParams' => true,
        'visibility' => [$this, 'isExampleButtonVisible'],
    ],
    ...
]

Returns

array