PHP Class Wallmander\ElasticsearchIndexer\Controller\Admin

Author: Mikael Mattsson ([email protected])
ファイルを表示 Open project: wallmanderco/elasticsearch-indexer

Public Methods

Method Description
actionAdminBarMenu ( WP_Admin_Bar $adminBar )
actionAdminInit ( ) Hooked on admin_init. Registers the options and enqueues admin style and javascript.
actionAdminMenu ( ) Hooked on admin_menu. Adds the menu items to the admin sidebar.
ajaxReindex ( ) Admin reindex, requested by the index page.
getIndex ( ) Admin Indexing Page.
getSettings ( ) Admin Settings Page.
getStatus ( ) Admin Status Page.

Private Methods

Method Description
getStatusText ( )

Method Details

actionAdminBarMenu() public static method

public static actionAdminBarMenu ( WP_Admin_Bar $adminBar )
$adminBar WP_Admin_Bar

actionAdminInit() public static method

Hooked on admin_init. Registers the options and enqueues admin style and javascript.
public static actionAdminInit ( )

actionAdminMenu() public static method

Hooked on admin_menu. Adds the menu items to the admin sidebar.
public static actionAdminMenu ( )

ajaxReindex() public static method

Admin reindex, requested by the index page.
public static ajaxReindex ( )

getIndex() public static method

Admin Indexing Page.
public static getIndex ( )

getSettings() public static method

Admin Settings Page.
public static getSettings ( )

getStatus() public static method

Admin Status Page.
public static getStatus ( )