![]() |
WPDK
1.5.0
WordPress Development Kit
|
Public Member Functions | |
| __construct ($item) | |
| Construct. More... | |
| draw () | |
| Draw. More... | |
Public Member Functions inherited from WPDKUIControl | |
| __construct ($item_control) | |
| Construct. More... | |
| display () | |
| Display. More... | |
| draw () | |
| Draw. More... | |
| html () | |
| Get HTML. More... | |
Additional Inherited Members | |
Data Fields inherited from WPDKUIControl | |
| const | DEFAULT_SIZE_ATTRIBUTE = 30 |
| Attribute size. More... | |
| const | APPEND_SELECT_LIST_REMOVE = 'append_select_list_remove' |
| const | APPEND_SELECT_LIST_ADD = 'append_select_list_add' |
Protected Member Functions inherited from WPDKUIControl | |
| attrs () | |
| Attributes. More... | |
| data () | |
| Data attributes. More... | |
| classes () | |
| CSS Class. More... | |
| contentWithKey ($key) | |
| Get content form array. More... | |
| inputType ($type=WPDKHTMLTagInputType::TEXT, $class= '') | |
| Common input control. More... | |
| label () | |
| Standard label for controls. More... | |
| guide () | |
| Guide. More... | |
Protected Attributes inherited from WPDKUIControl | |
| $attrs = array() | |
| Attributes. More... | |
| $class = array() | |
| CSS classes. More... | |
| $data = array() | |
| Data attributes. More... | |
| $id = '' | |
| Attribute ID. More... | |
| $item = '' | |
| WPDK UI Control array descriptor. More... | |
| $name = '' | |
| Name attribute. More... | |
| $style = '' | |
| CSS inline style. More... | |
File control.
$item = array(
'type' => WPDKUIControlType::FILE,
'label' => 'Left label',
'id' => 'id',
'name' => 'name',
'beforelabel' => '',
'afterlabel' => ':',
'value' => 'Button Text',
'attrs' => array(),
'data' => array(),
'class' => array(),
'style' => '',
'title' => 'This title is Twitter Bootstrap Tooltips',
'prepend' => '',
'append' => '',
);
Definition at line 1228 of file wpdk-ui-controls.php.
| __construct | ( | $item | ) |
Construct.
Create an instance of WPDKUIControlFile class
| array | $item | Key value pairs with control info |
Definition at line 1240 of file wpdk-ui-controls.php.
| draw | ( | ) |