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

Public Member Functions

 __construct ($parent, $title= '')
 Construct. More...
 
- Public Member Functions inherited from WPDKSubMenu
 __construct ($parent, $id, $menu_title, $view_controller= '', $capability=self::DEFAULT_CAPABILITY)
 Construct. More...
 
 render ()
 Render. More...
 

Data Fields

const DEFAULT_CAPABILITY = 'manage_options'
 Capability. More...
 
const DIVIDER = 'wpdk_menu_divider'
 Divider. More...
 
- Data Fields inherited from WPDKSubMenu
const DEFAULT_CAPABILITY = 'read'
 Capability. More...
 
 $capability = self::DEFAULT_CAPABILITY
 
 $hookName = ''
 
 $id = ''
 
 $menuTitle = ''
 
 $pageTitle = ''
 
 $parent = ''
 
 $viewController = ''
 
 $query_args = array()
 Query args. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from WPDKSubMenu
static renderByArray ($sub_menus)
 Render by array. More...
 

Detailed Description

Submenu divider

Author
=undo= info@.nosp@m.wpxt.nosp@m.re.me
Date
2013-02-22
Version
1.0.0

Definition at line 749 of file wpdk-menu.php.

Constructor & Destructor Documentation

__construct (   $parent,
  $title = '' 
)

Construct.

Create an instance of WPDKSubMenuDivider class

Parameters
object | string$parentParent id menu
string$titleOptional. Title of divider
Returns
WPDKSubMenuDivider

Definition at line 774 of file wpdk-menu.php.

Field Documentation

const DEFAULT_CAPABILITY = 'manage_options'

Capability.

Default capability

Definition at line 756 of file wpdk-menu.php.

const DIVIDER = 'wpdk_menu_divider'

Divider.

Prefix to use on unique key for create a separator menu item

Definition at line 762 of file wpdk-menu.php.


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