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

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_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

Methods

getButtons()

getButtons() : array

Retrieve the list of buttons

[
    [
        'place' => self::PLACE_DOMAIN,
        '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