PHP Class WPDKUIControlChoose

$item = array( 'type' => WPDKUIControlType::CHOOSE, 'label' => 'Left label', 'id' => 'id', 'name' => 'name', 'beforelabel' => '', 'afterlabel' => ':', 'value' => 'Button Text', 'attrs' => array(), 'data' => array(), 'class' => array(), 'style' => '', 'title' => 'This title is a tooltip', 'prepend' => '', 'append' => '', );
Author: =undo= ([email protected])
Inheritance: extends WPDKUIControl
Show file Open project: wpxtreme/wpdk

Public Methods

Method Description
__construct ( array $item ) : WPDKUIControlChoose Create an instance of WPDKUIControlChoose class
draw ( ) Drawing control

Method Details

__construct() public method

Create an instance of WPDKUIControlChoose class
Since: 1.0.0.b3
public __construct ( array $item ) : WPDKUIControlChoose
$item array Key value pairs with control info
return WPDKUIControlChoose

draw() public method

Drawing control
public draw ( )