WPDK  1.5.0
WordPress Development Kit
 All Data Structures Files Functions Variables Pages
WPDKUIControlType Class Reference

Data Fields

const ALERT = 'WPDKUIControlAlert'
 
const BUTTON = 'WPDKUIControlButton'
 
const CHECKBOX = 'WPDKUIControlCheckbox'
 
const CHECKBOXES = 'WPDKUIControlCheckboxes'
 
const CHOOSE = 'WPDKUIControlChoose'
 
const CUSTOM = 'WPDKUIControlCustom'
 
const DATE = 'WPDKUIControlDate'
 
const DATETIME = 'WPDKUIControlDateTime'
 
const EMAIL = 'WPDKUIControlEmail'
 
const FILE = 'WPDKUIControlFile'
 
const HIDDEN = 'WPDKUIControlHidden'
 
const LABEL = 'WPDKUIControlLabel'
 
const NUMBER = 'WPDKUIControlNumber'
 
const PASSWORD = 'WPDKUIControlPassword'
 
const PARAGRAPH = 'paragraph'
 
const PHONE = 'WPDKUIControlPhone'
 
const RADIO = 'WPDKUIControlRadio'
 
const SECTION = 'WPDKUIControlSection'
 
const SELECT = 'WPDKUIControlSelect'
 
const SELECT_LIST = 'WPDKUIControlSelectList'
 
const SUBMIT = 'WPDKUIControlSubmit'
 
const SWIPE = 'WPDKUIControlSwipe'
 
const SWITCHBOX = 'WPDKUIControlSwitch'
 
const TEXT = 'WPDKUIControlText'
 
const TEXTAREA = 'WPDKUIControlTextarea'
 

Detailed Description

This class has the list of the constrols allowed

Author
=undo= info@.nosp@m.wpxt.nosp@m.re.me
Date
2013-11-11
Version
0.8.3

This class manage and display a Controls Layout Array.

Getting started

In order to display a controls layout you need to define a simple Controls Layout Array (CLA) and to instance the WPDKUIControlsLayout class:

$cla = array(
   'Fieldset Legend Group' => array(
        'Subtitle',                                 // Optional subtitle
            array( array(...), array(...) ),        // Row of items
            array(...),                             // New row
            array(...)                              // Items
    );
);

$layout = new WPDKUIControlsLayout( $cla );
$layout->display();
Author
=undo= info@.nosp@m.wpxt.nosp@m.re.me
Date
2013-12-29
Version
0.9.0

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

Field Documentation

const ALERT = 'WPDKUIControlAlert'

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

const BUTTON = 'WPDKUIControlButton'

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

const CHECKBOX = 'WPDKUIControlCheckbox'

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

const CHECKBOXES = 'WPDKUIControlCheckboxes'

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

const CHOOSE = 'WPDKUIControlChoose'

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

const CUSTOM = 'WPDKUIControlCustom'

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

const DATE = 'WPDKUIControlDate'

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

const DATETIME = 'WPDKUIControlDateTime'

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

const EMAIL = 'WPDKUIControlEmail'

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

const FILE = 'WPDKUIControlFile'

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

const HIDDEN = 'WPDKUIControlHidden'

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

const LABEL = 'WPDKUIControlLabel'

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

const NUMBER = 'WPDKUIControlNumber'

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

const PARAGRAPH = 'paragraph'

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

const PASSWORD = 'WPDKUIControlPassword'

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

const PHONE = 'WPDKUIControlPhone'

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

const RADIO = 'WPDKUIControlRadio'

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

const SECTION = 'WPDKUIControlSection'

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

const SELECT = 'WPDKUIControlSelect'

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

const SELECT_LIST = 'WPDKUIControlSelectList'

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

const SUBMIT = 'WPDKUIControlSubmit'

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

const SWIPE = 'WPDKUIControlSwipe'

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

const SWITCHBOX = 'WPDKUIControlSwitch'

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

const TEXT = 'WPDKUIControlText'

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

const TEXTAREA = 'WPDKUIControlTextarea'

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


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