WPDK  1.5.0
WordPress Development Kit
 All Data Structures Files Functions Variables Pages
WPDKWordPressAdmin Class Reference
Inheritance diagram for WPDKWordPressAdmin:
WPDKObject

Public Member Functions

 __construct (WPDKWordPressPlugin $plugin)
 Construct. More...
 
 wp_pointer ()
 WP Pointer. More...
 
 admin_body_class ($classes)
 Add extra class in body. More...
 
 admin_menu ()
 WP Hook when menus are building. More...
 
 admin_enqueue_scripts ($hook_suffix)
 Admin backend area head. More...
 
- Public Member Functions inherited from WPDKObject
 __className ()
 Returns the class object. More...
 
 __parentClass ()
 Returns the class object for the receiver’s superclass. More...
 
 __isClass ($class)
 Brief. More...
 
 __isSubclassOfClass ($class)
 Return TRUE if the receiving class is a subclass of —or identical to— $class, otherwise FALSE. More...
 

Data Fields

 $__version = '0.9.0'
 Version. More...
 
 $bodyClasses
 List of class for body. More...
 
 $plugin
 Parent base class. More...
 
- Data Fields inherited from WPDKObject
 $__version = '1.0.0'
 The version number assigned to the class. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from WPDKObject
static __delta ($last_version, $old_version)
 Object delta compare for combine. More...
 
static delta ($last_version, $old_version)
 
static __dump ($var, $monitor=false)
 Dump a variable. More...
 

Detailed Description

Manage and init WordPress backend admin area

Overview

This class is used when the backend is loaded. You can subclassing this class for get a lot of facilities when you have to manage the theme interactions.

Benefits

This class prepare for us some useful and common action/filter hook.

Author
=undo= info@.nosp@m.wpxt.nosp@m.re.me
Date
2014-01-08
Version
0.9.0

Definition at line 19 of file wpdk-wordpress-admin.php.

Constructor & Destructor Documentation

__construct ( WPDKWordPressPlugin  $plugin)

Construct.

Create a WPDKWordPressAdmin object instance

Parameters
WPDKWordPressPlugin$pluginYour main plugin instance
Returns
WPDKWordPressAdmin

Definition at line 57 of file wpdk-wordpress-admin.php.

Member Function Documentation

admin_body_class (   $classes)

Add extra class in body.

This is an internal method to build the extra class for body tag.

Parameters
array$classesExtra classes list
Returns
string

Definition at line 101 of file wpdk-wordpress-admin.php.

admin_enqueue_scripts (   $hook_suffix)

Admin backend area head.

Used for load scripts and styles in admin backend area.

Parameters
string$hook_suffixHook suffix

Definition at line 136 of file wpdk-wordpress-admin.php.

admin_menu ( )

WP Hook when menus are building.

You will use this method for create the WordPress admin menu

Definition at line 124 of file wpdk-wordpress-admin.php.

wp_pointer ( )

WP Pointer.

Used for load wp pointer scripts & styles

Definition at line 85 of file wpdk-wordpress-admin.php.

Field Documentation

string $__version = '0.9.0'

Version.

Override version

Definition at line 28 of file wpdk-wordpress-admin.php.

array $bodyClasses

List of class for body.

List of CSS class to add to body

Definition at line 37 of file wpdk-wordpress-admin.php.

Parent base class.

Parent base class

Definition at line 46 of file wpdk-wordpress-admin.php.


The documentation for this class was generated from the following file: