|
| addToProperty ($name, $value, $separator=" ") |
|
| addLabel ($caption, $style="label-default", $leftSeparator=" ") |
|
| addContent ($content, $before=false) |
|
| getField () |
|
| getDataField () |
|
| setFocus () |
|
| addLoading () |
|
| labeled ($label, $direction=Direction::LEFT, $icon=NULL) |
|
| labeledCheckbox ($direction=Direction::LEFT, $caption="", $value=NULL, $checkboxType=NULL) |
|
| labeledToCorner ($icon, $direction=Direction::LEFT) |
|
| addAction ($action, $direction=Direction::RIGHT, $icon=NULL, $labeled=false) |
|
| addDropdown ($label="", $items=array(), $direction=Direction::RIGHT) |
|
| setTransparent () |
|
| setReadonly () |
|
| setName ($name) |
|
| setFluid () |
|
| setDisabled ($disable=true) |
|
| setJsContent ($content) |
|
| getJsContent () |
|
| asFile ($caption='', $direction=Direction::RIGHT, $icon='cloud upload alternate', $labeled=false) |
|
Definition at line 20 of file FieldTrait.php.
◆ addAction()
addAction |
( |
|
$action, |
|
|
|
$direction = Direction::RIGHT , |
|
|
|
$icon = NULL , |
|
|
|
$labeled = false |
|
) |
| |
- Parameters
-
string | $action | |
string | $direction | |
string | $icon | |
boolean | $labeled | |
- Returns
- mixed|HtmlButton
Reimplemented in HtmlFormDropdown.
Definition at line 79 of file FieldTrait.php.
◆ addContent()
addContent |
( |
|
$content, |
|
|
|
$before = false |
|
) |
| |
|
abstract |
◆ addDropdown()
addDropdown |
( |
|
$label = "" , |
|
|
|
$items = array() , |
|
|
|
$direction = Direction::RIGHT |
|
) |
| |
- Parameters
-
string | $label | |
array | $items | |
string | $direction | |
- Returns
- HtmlLabel
Definition at line 98 of file FieldTrait.php.
◆ addLabel()
addLabel |
( |
|
$caption, |
|
|
|
$style = "label-default" , |
|
|
|
$leftSeparator = " " |
|
) |
| |
|
abstract |
◆ addLoading()
◆ addToProperty()
addToProperty |
( |
|
$name, |
|
|
|
$value, |
|
|
|
$separator = " " |
|
) |
| |
|
abstract |
◆ asFile()
asFile |
( |
|
$caption = '' , |
|
|
|
$direction = Direction::RIGHT , |
|
|
|
$icon = 'cloud upload alternate' , |
|
|
|
$labeled = false |
|
) |
| |
◆ getDataField()
◆ getField()
◆ getJsContent()
◆ labeled()
labeled |
( |
|
$label, |
|
|
|
$direction = Direction::LEFT , |
|
|
|
$icon = NULL |
|
) |
| |
- Parameters
-
string | BaseHtml | $label | |
string | $direction | |
string | $icon | |
- Returns
- HtmlLabel
Definition at line 45 of file FieldTrait.php.
◆ labeledCheckbox()
labeledCheckbox |
( |
|
$direction = Direction::LEFT , |
|
|
|
$caption = "" , |
|
|
|
$value = NULL , |
|
|
|
$checkboxType = NULL |
|
) |
| |
- Parameters
-
string | $direction | |
string | $caption | |
string | $value | |
string | $checkboxType | |
- Returns
- HtmlLabel
Definition at line 59 of file FieldTrait.php.
◆ labeledToCorner()
labeledToCorner |
( |
|
$icon, |
|
|
|
$direction = Direction::LEFT |
|
) |
| |
- Parameters
-
string | $icon | |
string | $direction | |
- Returns
- HtmlLabel
Definition at line 68 of file FieldTrait.php.
◆ setDisabled()
setDisabled |
( |
|
$disable = true | ) |
|
◆ setFluid()
◆ setFocus()
◆ setJsContent()
◆ setName()
◆ setReadonly()
◆ setTransparent()
The documentation for this class was generated from the following file: