phpMv -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
|
Public Member Functions | |
setValueFunction ($index, $callback) | |
setPropertyValues ($property, $indexValues) | |
Defines the values for the fields for a property (or html attribute). | |
fieldAsProgress ($index, $label=NULL, $attributes=array()) | |
fieldAsRating ($index, $max=5, $icon="") | |
fieldAsLabel ($index, $icon=NULL, $attributes=NULL) | |
fieldAsHeader ($index, $niveau=1, $icon=NULL, $attributes=NULL) | |
fieldAsImage ($index, $size=Size::MINI, $circular=false) | |
fieldAsFlag ($index) | |
fieldAsIcon ($index) | |
fieldAsAvatar ($index, $attributes=NULL) | |
fieldAsRadio ($index, $attributes=NULL) | |
fieldAsRadios ($index, $elements=[], $attributes=NULL) | |
fieldAsList ($index, $classNames="", $attributes=NULL) | |
fieldAsInput ($index, $attributes=NULL) | |
fieldAsLabeledInput ($index, $attributes=NULL) | |
fieldAsDataList ($index, ?array $items=[], $attributes=NULL) | |
fieldAsFile ($index, $attributes=NULL) | |
fieldAsTextarea ($index, $attributes=NULL) | |
fieldAsElement ($index, $tagName="div", $baseClass="", $attributes=NULL) | |
fieldAsHidden ($index, $attributes=NULL) | |
fieldAsCheckbox ($index, $attributes=NULL) | |
fieldAsDropDown ($index, $elements=[], $multiple=false, $attributes=NULL) | |
fieldAsMessage ($index, $attributes=NULL) | |
fieldAsLink ($index, $attributes=NULL) | |
fieldsAs (array $types) | |
Change fields type. | |
fieldAs ($index, $type, $attributes=NULL) | |
fieldAsSubmit ($index, $cssStyle=NULL, $url=NULL, $responseElement=NULL, $attributes=NULL) | |
fieldAsButton ($index, $cssStyle=NULL, $attributes=NULL) | |
fieldAsDataTable ($index, $model, $instances=null, $fields=[], $attributes=NULL) | |
Protected Member Functions | |
_getFieldIdentifier ($prefix, $name="") | |
_getFieldName ($index) | |
_getFieldCaption ($index) | |
_buttonAsSubmit (BaseHtml &$button, $event, $url, $responseElement=NULL, $parameters=NULL) | |
_applyAttributes (BaseHtml $element, &$attributes, $index, $instance=null) | |
_addRules (HtmlFormField $element, &$attributes) | |
_prepareFormFields (HtmlFormField &$field, $name, &$attributes) | |
_fieldAs ($elementCallback, &$index, $attributes=NULL, $prefix=null) | |
Private Member Functions | |
_getLabelField ($caption, $icon=NULL) | |
Private Attributes | |
$_speProperties | |
Definition at line 38 of file FieldAsTrait.php.
|
protected |
Definition at line 75 of file FieldAsTrait.php.
|
protected |
HtmlFormField | $element | |
array | $attributes |
Definition at line 57 of file FieldAsTrait.php.
|
abstractprotected |
|
protected |
Reimplemented in BusinessForm.
Definition at line 94 of file FieldAsTrait.php.
|
abstractprotected |
Reimplemented in Widget, DataElement, and DataTable.
|
abstractprotected |
Reimplemented in Widget, DataElement, and DataForm.
|
abstractprotected |
Reimplemented in Widget, DataElement, and DataTable.
|
private |
Definition at line 70 of file FieldAsTrait.php.
|
protected |
Definition at line 88 of file FieldAsTrait.php.
fieldAs | ( | $index, | |
$type, | |||
$attributes = NULL |
|||
) |
Definition at line 349 of file FieldAsTrait.php.
fieldAsAvatar | ( | $index, | |
$attributes = NULL |
|||
) |
Definition at line 193 of file FieldAsTrait.php.
fieldAsButton | ( | $index, | |
$cssStyle = NULL , |
|||
$attributes = NULL |
|||
) |
Definition at line 374 of file FieldAsTrait.php.
fieldAsCheckbox | ( | $index, | |
$attributes = NULL |
|||
) |
Definition at line 292 of file FieldAsTrait.php.
fieldAsDataList | ( | $index, | |
?array | $items = [] , |
||
$attributes = NULL |
|||
) |
Definition at line 247 of file FieldAsTrait.php.
fieldAsDataTable | ( | $index, | |
$model, | |||
$instances = null , |
|||
$fields = [] , |
|||
$attributes = NULL |
|||
) |
Definition at line 381 of file FieldAsTrait.php.
fieldAsDropDown | ( | $index, | |
$elements = [] , |
|||
$multiple = false , |
|||
$attributes = NULL |
|||
) |
Definition at line 302 of file FieldAsTrait.php.
fieldAsElement | ( | $index, | |
$tagName = "div" , |
|||
$baseClass = "" , |
|||
$attributes = NULL |
|||
) |
Definition at line 274 of file FieldAsTrait.php.
fieldAsFile | ( | $index, | |
$attributes = NULL |
|||
) |
Definition at line 256 of file FieldAsTrait.php.
fieldAsFlag | ( | $index | ) |
Definition at line 177 of file FieldAsTrait.php.
fieldAsHeader | ( | $index, | |
$niveau = 1 , |
|||
$icon = NULL , |
|||
$attributes = NULL |
|||
) |
Definition at line 157 of file FieldAsTrait.php.
fieldAsHidden | ( | $index, | |
$attributes = NULL |
|||
) |
Definition at line 283 of file FieldAsTrait.php.
fieldAsIcon | ( | $index | ) |
Definition at line 185 of file FieldAsTrait.php.
fieldAsImage | ( | $index, | |
$size = Size::MINI , |
|||
$circular = false |
|||
) |
Definition at line 166 of file FieldAsTrait.php.
fieldAsInput | ( | $index, | |
$attributes = NULL |
|||
) |
Definition at line 222 of file FieldAsTrait.php.
fieldAsLabel | ( | $index, | |
$icon = NULL , |
|||
$attributes = NULL |
|||
) |
Definition at line 148 of file FieldAsTrait.php.
fieldAsLabeledInput | ( | $index, | |
$attributes = NULL |
|||
) |
Definition at line 229 of file FieldAsTrait.php.
fieldAsLink | ( | $index, | |
$attributes = NULL |
|||
) |
Definition at line 318 of file FieldAsTrait.php.
fieldAsList | ( | $index, | |
$classNames = "" , |
|||
$attributes = NULL |
|||
) |
Definition at line 214 of file FieldAsTrait.php.
fieldAsMessage | ( | $index, | |
$attributes = NULL |
|||
) |
Definition at line 310 of file FieldAsTrait.php.
fieldAsProgress | ( | $index, | |
$label = NULL , |
|||
$attributes = array() |
|||
) |
Definition at line 132 of file FieldAsTrait.php.
fieldAsRadio | ( | $index, | |
$attributes = NULL |
|||
) |
Definition at line 201 of file FieldAsTrait.php.
fieldAsRadios | ( | $index, | |
$elements = [] , |
|||
$attributes = NULL |
|||
) |
Definition at line 208 of file FieldAsTrait.php.
fieldAsRating | ( | $index, | |
$max = 5 , |
|||
$icon = "" |
|||
) |
Definition at line 140 of file FieldAsTrait.php.
fieldAsSubmit | ( | $index, | |
$cssStyle = NULL , |
|||
$url = NULL , |
|||
$responseElement = NULL , |
|||
$attributes = NULL |
|||
) |
Definition at line 366 of file FieldAsTrait.php.
fieldAsTextarea | ( | $index, | |
$attributes = NULL |
|||
) |
Definition at line 267 of file FieldAsTrait.php.
fieldsAs | ( | array | $types | ) |
Change fields type.
array | $types | an array or associative array $type=>$attributes |
Definition at line 331 of file FieldAsTrait.php.
setPropertyValues | ( | $property, | |
$indexValues | |||
) |
Defines the values for the fields for a property (or html attribute).
int | string | $property | the property to update |
array | $indexValues | array of field=>value |
Definition at line 125 of file FieldAsTrait.php.
|
abstract |
Reimplemented in Widget.
|
private |
Definition at line 50 of file FieldAsTrait.php.