PHP Class WPDKPreferencesViewController

Author: =undo= ([email protected])
Inheritance: extends WPDKjQueryTabsViewController
Datei anzeigen Open project: wpxtreme/wpdk

Public Methods

Method Description
__construct ( WPDKPreferences $preferences, string $title, array $tabs, boolean $vertical = false ) : WPDKPreferencesViewController Create an instance of WPDKPreferencesViewController class
_admin_head ( ) This method is called when the head of this view controller is loaded by WordPress.
display_toolbar ( ) Hook used to display a form toolbar preferences

Method Details

__construct() public method

Create an instance of WPDKPreferencesViewController class
public __construct ( WPDKPreferences $preferences, string $title, array $tabs, boolean $vertical = false ) : WPDKPreferencesViewController
$preferences WPDKPreferences An instance of WPDKPreferences class
$title string The title of view controller
$tabs array Tabs array
$vertical boolean Optional. Set to TRUE in order to display vertical tab. Default is FALSE.
return WPDKPreferencesViewController

_admin_head() public method

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

display_toolbar() public method

Hook used to display a form toolbar preferences
public display_toolbar ( )