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' => '',
);
显示文件
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
public __construct ( array $item ) : WPDKUIControlChoose |
$item |
array |
Key value pairs with control info |
return |
WPDKUIControlChoose |
|