Methods
__construct
__construct( $args)
_outputAttr
_outputAttr( &$attributes)
fillSelect
fillSelect( $ctrl, $value)
Returns an array containing all the control attributes
getControlAttributes()
Get the control class
getCSSClass()
Get the control id
getId()
Retrieve the label attributes
getLabelAttributes( $editMode)
Get the control name
getName()
return the value of the HTML element
getValue()
getValueAttributes
getValueAttributes()
displays the form field itself
outputControl()
displays the value of the form field only
outputControlValue()
This function displays the blue question mark near the form field
outputHelp()
This function displays the form field label.
outputLabel( $format = '', $editMode = true)
outputLabelAsTitle
outputLabelAsTitle( $label, $attr)
add the CSS and javascript link
outputMetaContent(\jResponseHtml $resp)
set attributes to add on the HTML element
setAttributes( $attr)
setDefaultAttributes
setDefaultAttributes( $attr)
setLabelAttributes
setLabelAttributes( $attributes)
Properties
The form builder
builder : \jelix\forms\Builder\HtmlBuilder
The control
ctrl : \jFormsControl
default html attributes for the control
defaultAttributes : array
html attributes for the control
attributes : array
html attributes for the control label
labelAttributes : array
valuesSeparator
valuesSeparator :