PHP Class WPDKUIControlNumber
$item = array(
'type' => WPDKUIControlType::NUMBER,
'label' => 'Left label' | array(),
'id' => 'id',
'value' => '',
'min' => 0,
'step' => 1,
'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 ) : WPDKUIControlNumber |
Create an instance of WPDKUIControlNumber class |
|
draw ( ) |
Drawing control |
|
init ( array $item ) : WPDKUIControlNumber |
Useful static method to instance class. |
|
Method Details
__construct()
public method
Create an instance of WPDKUIControlNumber class
public __construct ( array $item ) : WPDKUIControlNumber |
$item |
array |
Key value pairs with control info |
return |
WPDKUIControlNumber |
|
init()
public static method
Useful static method to instance class.
public static init ( array $item ) : WPDKUIControlNumber |
$item |
array |
Key value pairs with control info |
return |
WPDKUIControlNumber |
|