PHP Class WPDKUIControlRadio
$item = array(
'type' => WPDKUIControlType::RADIO,
'label' => 'Left label',
'id' => 'id',
'name' => 'name',
'beforelabel' => '',
'afterlabel' => ':',
'value' => 'Radio button value',
'checked' => 'Radio button value',
'attrs' => array(),
'data' => array(),
'class' => array(),
'style' => '',
'title' => 'This title is a tooltip',
'prepend' => '',
'append' => '',
);
Mostrar archivo
Open project: wpxtreme/wpdk
Public Methods
Method |
Description |
|
__construct ( array $item ) : WPDKUIControlRadio |
Create an instance of WPDKUIControlRadio class |
|
draw ( ) |
Drawing control |
|
init ( array $item ) : WPDKUIControlRadio |
Useful static method to instance class. |
|
Method Details
__construct()
public method
Create an instance of WPDKUIControlRadio class
public __construct ( array $item ) : WPDKUIControlRadio |
$item |
array |
Key value pairs with control info |
return |
WPDKUIControlRadio |
|
init()
public static method
Useful static method to instance class.
public static init ( array $item ) : WPDKUIControlRadio |
$item |
array |
Key value pairs with control info |
return |
WPDKUIControlRadio |
|