PHP Class Mlp_Nav_Menu_Controller

Author: Inpsyde GmbH, toscho
ファイルを表示 Open project: inpsyde/multilingual-press Class Usage Examples

Public Methods

Method Description
__construct ( Mlp_Language_Api_Interface $language_api, AssetManager $asset_manager ) Constructor
add_meta_box ( ) : void Adds the meta box to the menu page
backend_setup ( ) : void Set up backend management.
frontend_setup ( ) : void Register filter for nav menu items.
initialize ( ) : void Wires up all general functions.

Private Methods

Method Description
add_actions ( ) : void Register callbacks for our actions.
create_instances ( ) : void Create nonce, view and data objects.

Method Details

__construct() public method

Constructor
public __construct ( Mlp_Language_Api_Interface $language_api, AssetManager $asset_manager )
$language_api Mlp_Language_Api_Interface
$asset_manager Inpsyde\MultilingualPress\Asset\AssetManager

add_meta_box() public method

Adds the meta box to the menu page
public add_meta_box ( ) : void
return void

backend_setup() public method

Set up backend management.
public backend_setup ( ) : void
return void

frontend_setup() public method

Register filter for nav menu items.
public frontend_setup ( ) : void
return void

initialize() public method

Wires up all general functions.
public initialize ( ) : void
return void