![]() |
WPDK
1.5.0
WordPress Development Kit
|
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' |
This class has the list of the constrols allowed
This class manage and display a Controls Layout Array.
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();
Definition at line 13 of file wpdk-ui-controls.php.
| 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.