phpMv -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
|
Public Member Functions | |
addFields ($fields=NULL, $label=NULL) | |
addItem ($item) | |
getItem ($index) | |
count () | |
addInputs ($inputs, $fieldslabel=null) | |
setFieldsPropertyValues ($property, $values) | |
Sets the values of a property for each Field of each item in the collection. | |
addFieldRule ($index, $type, $prompt=NULL, $value=NULL) | |
addFieldRules ($index, $rules) | |
addDropdown ($identifier, $items=array(), $label=NULL, $value=NULL, $multiple=false) | |
Adds a new dropdown element. | |
addButtonGroups ($identifier, $elements=[], $asIcons=false) | |
Adds a new button groups. | |
addDropdownButton ($identifier, $value, $items=[], $asCombo=false, $icon=null) | |
Adds a button with a dropdown button. | |
addInput ($identifier, $label=NULL, $type="text", $value=NULL, $placeholder=NULL) | |
addTextarea ($identifier, $label, $value=NULL, $placeholder=NULL, $rows=5) | |
addPassword ($identifier, $label=NULL) | |
addButton ($identifier, $value, $cssStyle=NULL, $onClick=NULL) | |
addButtonIcon ($identifier, $icon, $cssStyle=NULL, $onClick=NULL) | |
addCheckbox ($identifier, $label=NULL, $value=NULL, $type=NULL) | |
addRadio ($identifier, $name, $label=NULL, $value=NULL) | |
addElement ($identifier, $content, $label, $tagName="div", $baseClass="") | |
Protected Member Functions | |
createItem ($value) | |
createCondition ($value) | |
Definition at line 22 of file FieldsTrait.php.
addButton | ( | $identifier, | |
$value, | |||
$cssStyle = NULL , |
|||
$onClick = NULL |
|||
) |
Definition at line 159 of file FieldsTrait.php.
addButtonGroups | ( | $identifier, | |
$elements = [] , |
|||
$asIcons = false |
|||
) |
Adds a new button groups.
string | $identifier | |
array | $elements | |
boolean | $asIcons |
Definition at line 114 of file FieldsTrait.php.
addButtonIcon | ( | $identifier, | |
$icon, | |||
$cssStyle = NULL , |
|||
$onClick = NULL |
|||
) |
Definition at line 163 of file FieldsTrait.php.
addCheckbox | ( | $identifier, | |
$label = NULL , |
|||
$value = NULL , |
|||
$type = NULL |
|||
) |
string | $identifier | |
string | $label | |
string | $value | |
string | $type |
Definition at line 180 of file FieldsTrait.php.
addDropdown | ( | $identifier, | |
$items = array() , |
|||
$label = NULL , |
|||
$value = NULL , |
|||
$multiple = false |
|||
) |
Adds a new dropdown element.
string | $identifier | |
array | $items | |
string | $label | |
string | $value | |
boolean | $multiple |
Definition at line 103 of file FieldsTrait.php.
addDropdownButton | ( | $identifier, | |
$value, | |||
$items = [] , |
|||
$asCombo = false , |
|||
$icon = null |
|||
) |
Adds a button with a dropdown button.
string | $identifier | |
string | $value | |
array | $items | |
boolean | $asCombo | |
string | $icon |
Definition at line 127 of file FieldsTrait.php.
addElement | ( | $identifier, | |
$content, | |||
$label, | |||
$tagName = "div" , |
|||
$baseClass = "" |
|||
) |
Definition at line 188 of file FieldsTrait.php.
addFieldRule | ( | $index, | |
$type, | |||
$prompt = NULL , |
|||
$value = NULL |
|||
) |
Definition at line 78 of file FieldsTrait.php.
addFieldRules | ( | $index, | |
$rules | |||
) |
Definition at line 86 of file FieldsTrait.php.
|
abstract |
Reimplemented in HtmlForm, and HtmlFormFields.
addInput | ( | $identifier, | |
$label = NULL , |
|||
$type = "text" , |
|||
$value = NULL , |
|||
$placeholder = NULL |
|||
) |
string | $identifier | |
string | $label | |
string | $type | |
string | $value | |
string | $placeholder |
Definition at line 139 of file FieldsTrait.php.
addInputs | ( | $inputs, | |
$fieldslabel = null |
|||
) |
Definition at line 43 of file FieldsTrait.php.
|
abstract |
Reimplemented in HtmlForm, and HtmlFormFields.
addPassword | ( | $identifier, | |
$label = NULL |
|||
) |
Definition at line 155 of file FieldsTrait.php.
addRadio | ( | $identifier, | |
$name, | |||
$label = NULL , |
|||
$value = NULL |
|||
) |
Definition at line 184 of file FieldsTrait.php.
addTextarea | ( | $identifier, | |
$label, | |||
$value = NULL , |
|||
$placeholder = NULL , |
|||
$rows = 5 |
|||
) |
string | $identifier | |
string | $label | |
string | $value | |
string | $placeholder | |
int | $rows |
Definition at line 151 of file FieldsTrait.php.
|
abstract |
|
protected |
Definition at line 39 of file FieldsTrait.php.
|
protected |
Definition at line 28 of file FieldsTrait.php.
|
abstract |
Reimplemented in HtmlFormFields.
setFieldsPropertyValues | ( | $property, | |
$values | |||
) |
Sets the values of a property for each Field of each item in the collection.
string | $property | |
array | mixed | $values |
Definition at line 60 of file FieldsTrait.php.