output_htmlFormWidget

Extends \jelix\forms\HtmlWidget\WidgetBase

HTML form builder

package

jelix

subpackage

forms_widget_plugin

link

http://developer.jelix.org/wiki/rfc/jforms-controls-plugins

Methods

__construct

__construct( $args) 
inherited

Arguments

$args

_outputAttr

_outputAttr( &$attributes) 
inherited

Arguments

$attributes

commonJs

commonJs() 
inherited

escJsStr

escJsStr( $str) 
inherited

Arguments

$str

fillSelect

fillSelect( $ctrl,  $value) 
inherited

Arguments

$ctrl

$value

Returns an array containing all the control attributes

getControlAttributes() 
inherited

Get the control class

getCSSClass() 
inherited

Get the control id

getId() 
inherited

Retrieve the label attributes

getLabelAttributes( $editMode) 
inherited

Arguments

$editMode

Get the control name

getName() 
inherited

return the value of the HTML element

getValue() 
inherited

getValueAttributes

getValueAttributes() 
inherited

displays the form field itself

outputControl() 
inherited

displays the value of the form field only

outputControlValue() 
inherited

This function displays the blue question mark near the form field

outputHelp() 
inherited

This function displays the form field label.

outputLabel( $format = '',  $editMode = true) 
inherited

Arguments

$format

$editMode

outputLabelAsFormLabel

outputLabelAsFormLabel( $label,  $attr) 
inherited

Arguments

$label

$attr

outputLabelAsTitle

outputLabelAsTitle( $label,  $attr) 
inherited

Arguments

$label

$attr

add the CSS and javascript link

outputMetaContent(\jResponseHtml $resp) 
inherited

Arguments

$resp

\jResponseHtml

The response used

set attributes to add on the HTML element

setAttributes( $attr) 
inherited

Arguments

$attr

setDefaultAttributes

setDefaultAttributes( $attr) 
inherited

Arguments

$attr

setLabelAttributes

setLabelAttributes( $attributes) 
inherited

Arguments

$attributes

Properties

The form builder

builder : \jelix\forms\Builder\HtmlBuilder
inherited

the parent widget

parentWidget : \jelix\forms\HtmlWidget\ParentWidgetInterface
inherited

The control

ctrl : \jFormsControl
inherited
var

Type(s)

\jFormsControl

default html attributes for the control

defaultAttributes : array
inherited
var

Type(s)

array

html attributes for the control

attributes : array
inherited
var

Type(s)

array

html attributes for the control label

labelAttributes : array
inherited
var

Type(s)

array

valuesSeparator

valuesSeparator : 
inherited

Type(s)

_endt

_endt : 
inherited

Type(s)