PHP Class WPDKjQueryTabsViewController

Author: =undo= ([email protected])
Inheritance: extends WPDKViewController
Show file Open project: wpxtreme/wpdk Class Usage Examples

Public Methods

Method Description
__construct ( string $id, string $title, WPDKjQueryTabsView $view ) : WPDKjQueryTabsViewController Create an instane of WPDKjQueryTabsViewController class
admin_head ( ) This method is called when the head of this view controller is loaded by WordPress.
admin_print_styles ( ) Fires when styles are printed for a specific admin page based on $hook_suffix.

Method Details

__construct() public method

Create an instane of WPDKjQueryTabsViewController class
public __construct ( string $id, string $title, WPDKjQueryTabsView $view ) : WPDKjQueryTabsViewController
$id string A lowercase id used in HTML markup
$title string The view controller title
$view WPDKjQueryTabsView An instance of WPDKjQueryTabView class
return WPDKjQueryTabsViewController

admin_head() public method

It is used by WPDKMenu for example, as 'admin_head-' action.
public admin_head ( )

admin_print_styles() public method

Fires when styles are printed for a specific admin page based on $hook_suffix.
public admin_print_styles ( )