WPDK  1.5.0
WordPress Development Kit
 All Data Structures Files Functions Variables Pages
WPDKUIControlDate Class Reference
Inheritance diagram for WPDKUIControlDate:
WPDKUIControl

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...
 

Detailed Description

Date control.

$item = array(
    'type'           => WPDKUIControlType::DATE,
    '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'         => '',
);
Author
=undo= info@.nosp@m.wpxt.nosp@m.re.me
Date
2012-11-28
Version
0.8.1

Definition at line 1061 of file wpdk-ui-controls.php.

Constructor & Destructor Documentation

__construct (   $item)

Construct.

Create an instance of WPDKUIControlDate class

Since
1.0.0.b3
Parameters
array$itemKey value pairs with control info
Returns
WPDKUIControlDate

Definition at line 1073 of file wpdk-ui-controls.php.

Member Function Documentation

draw ( )

Draw.

Drawing control

Definition at line 1083 of file wpdk-ui-controls.php.


The documentation for this class was generated from the following file: