htmlJformsBuilder

Extends \jFormsBuilderHtml

HTML form builder

a builder form class is a class which help to generate a form for the output (html form for example)

package

jelix

subpackage

forms_legacybuilder_plugin

deprecated

Methods

__construct

__construct(\jFormsBase $form) 
inherited

Arguments

$form

\jFormsBase

a form object

_outputAttr

_outputAttr( &$attributes) 
inherited

Arguments

$attributes

_outputDateControlDay

_outputDateControlDay( $ctrl,  $attr,  $value) 
inherited

Arguments

$ctrl

$attr

$value

_outputDateControlHour

_outputDateControlHour( $ctrl,  $attr,  $value) 
inherited

Arguments

$ctrl

$attr

$value

_outputDateControlMinutes

_outputDateControlMinutes( $ctrl,  $attr,  $value) 
inherited

Arguments

$ctrl

$attr

$value

_outputDateControlMonth

_outputDateControlMonth( $ctrl,  $attr,  $value) 
inherited

Arguments

$ctrl

$attr

$value

_outputDateControlSeconds

_outputDateControlSeconds( $ctrl,  $attr,  $value) 
inherited

Arguments

$ctrl

$attr

$value

_outputDateControlYear

_outputDateControlYear( $ctrl,  $attr,  $value) 
inherited

Arguments

$ctrl

$attr

$value

commonJs

commonJs(\jFormsControl $ctrl) 
inherited

Arguments

echoCheckboxes

echoCheckboxes( $span,  $id,  &$values,  &$attr,  &$value,  &$i) 
inherited

Arguments

$span

$id

$values

$attr

$value

$i

endOfTag

endOfTag() 
inherited

escJsStr

escJsStr( $str) 
inherited

Arguments

$str

fillSelect

fillSelect( $ctrl,  $value) 
inherited

Arguments

$ctrl

$value

generates a name for the form

generateFormName( $sel) 
inherited static

Arguments

$sel

getForm

getForm() 
inherited

getName

getName() 
inherited

getOption

getOption(string $name) : mixed
inherited

Arguments

$name

string

name of an option

Response

mixed

the value of the option

jsButton

jsButton( $ctrl) 
inherited

Arguments

$ctrl

jsCaptcha

jsCaptcha( $ctrl) 
inherited

Arguments

$ctrl

jsCheckbox

jsCheckbox( $ctrl) 
inherited

Arguments

$ctrl

jsCheckboxes

jsCheckboxes( $ctrl) 
inherited

Arguments

$ctrl

jsChoice

jsChoice( $ctrl) 
inherited

Arguments

$ctrl

jsChoiceInternal

jsChoiceInternal( $ctrl) 
inherited

Arguments

$ctrl

jsDate

jsDate( $ctrl) 
inherited

Arguments

$ctrl

jsDatetime

jsDatetime( $ctrl) 
inherited

Arguments

$ctrl

jsGroup

jsGroup( $ctrl) 
inherited

Arguments

$ctrl

jsHtmleditor

jsHtmleditor( $ctrl) 
inherited

Arguments

$ctrl

jsInput

jsInput( $ctrl) 
inherited

Arguments

$ctrl

jsListbox

jsListbox( $ctrl) 
inherited

Arguments

$ctrl

jsMenulist

jsMenulist( $ctrl) 
inherited

Arguments

$ctrl

jsOutput

jsOutput( $ctrl) 
inherited

Arguments

$ctrl

jsRadiobuttons

jsRadiobuttons( $ctrl) 
inherited

Arguments

$ctrl

jsReset

jsReset( $ctrl) 
inherited

Arguments

$ctrl

jsSecret

jsSecret( $ctrl) 
inherited

Arguments

$ctrl

jsSecretconfirm

jsSecretconfirm( $ctrl) 
inherited

Arguments

$ctrl

jsSubmit

jsSubmit( $ctrl) 
inherited

Arguments

$ctrl

jsTextarea

jsTextarea( $ctrl,  $withjsobj = true) 
inherited

Arguments

$ctrl

$withjsobj

jsUpload

jsUpload( $ctrl) 
inherited

Arguments

$ctrl

jsWikieditor

jsWikieditor( $ctrl) 
inherited

Arguments

$ctrl

displays all the form. outputMetaContent, outputHeader and outputFooters are also called

outputAllControls() 
inherited abstract
since 1.1

outputButton

outputButton( $ctrl,  &$attr) 
inherited

Arguments

$ctrl

$attr

outputCaptcha

outputCaptcha( $ctrl,  &$attr) 
inherited

Arguments

$ctrl

$attr

outputCheckbox

outputCheckbox( $ctrl,  &$attr) 
inherited

Arguments

$ctrl

$attr

outputCheckboxes

outputCheckboxes( $ctrl,  &$attr) 
inherited

Arguments

$ctrl

$attr

outputChoice

outputChoice( $ctrl,  &$attr) 
inherited

Arguments

$ctrl

$attr

displays the content corresponding of the given control

outputControl(\jFormsControl $ctrl, array $attributes = array()) 
inherited abstract

Arguments

$ctrl

\jFormsControl

the control to display

$attributes

array

attribute to add on the generated code (html attributes for example)

displays the label corresponding of the given control

outputControlLabel(\jFormsControl $ctrl,  $editMode = true) 
inherited abstract

Arguments

$ctrl

\jFormsControl

the control to display

$editMode

displays the value of the control (without the control)

outputControlValue(\jFormsControl $ctrl, array $attributes = array()) 
inherited abstract

Arguments

$ctrl

\jFormsControl

the control to display

$attributes

array

attribute to add on the generated code (html attributes for example)

outputDate

outputDate( $ctrl,  &$attr) 
inherited

Arguments

$ctrl

$attr

outputDatetime

outputDatetime( $ctrl,  &$attr) 
inherited

Arguments

$ctrl

$attr

output the footer content of the form

outputFooter() 
inherited abstract

outputGroup

outputGroup( $ctrl,  &$attr) 
inherited

Arguments

$ctrl

$attr

output the header content of the form

outputHeader() 
inherited abstract

outputHeaderScript

outputHeaderScript() 
inherited

outputHelp

outputHelp( $ctrl) 
inherited

Arguments

$ctrl

outputHtmleditor

outputHtmleditor( $ctrl,  &$attr) 
inherited

Arguments

$ctrl

$attr

outputInput

outputInput( $ctrl,  &$attr) 
inherited

Arguments

$ctrl

$attr

outputListbox

outputListbox( $ctrl,  &$attr) 
inherited

Arguments

$ctrl

$attr

outputMenulist

outputMenulist( $ctrl,  &$attr) 
inherited

Arguments

$ctrl

$attr

called during the meta content processing in templates This method should set things on the response, like adding css styles, javascript links etc.

outputMetaContent(\jTpl $tpl) 
inherited abstract

Arguments

$tpl

\jTpl

the template object

outputOutput

outputOutput( $ctrl,  &$attr) 
inherited

Arguments

$ctrl

$attr

outputRadiobuttons

outputRadiobuttons( $ctrl,  &$attr) 
inherited

Arguments

$ctrl

$attr

outputReset

outputReset( $ctrl,  &$attr) 
inherited

Arguments

$ctrl

$attr

outputSecret

outputSecret( $ctrl,  &$attr) 
inherited

Arguments

$ctrl

$attr

outputSecretconfirm

outputSecretconfirm( $ctrl,  &$attr) 
inherited

Arguments

$ctrl

$attr

outputSubmit

outputSubmit( $ctrl,  $attr) 
inherited

Arguments

$ctrl

$attr

outputTextarea

outputTextarea( $ctrl,  &$attr) 
inherited

Arguments

$ctrl

$attr

outputUpload

outputUpload( $ctrl,  &$attr) 
inherited

Arguments

$ctrl

$attr

outputWikieditor

outputWikieditor( $ctrl,  &$attr) 
inherited

Arguments

$ctrl

$attr

setAction

setAction(string $action, array $actionParams) 
inherited

Arguments

$action

string

action selector where form will be submit

$actionParams

array

parameters for the action

set options

setOptions(array $options) 
inherited

Arguments

$options

array

associative array

showRadioCheck

showRadioCheck( $ctrl,  &$attr,  &$value,  $span) 
inherited

Arguments

$ctrl

$attr

$value

$span

Properties

jFormsJsVarName

jFormsJsVarName : 
inherited

Type(s)

isRootControl

isRootControl : 
inherited

Type(s)

jsContent

jsContent : 
inherited

Type(s)

lastJsContent

lastJsContent : 
inherited

Type(s)

a form object

_form : \jFormsBase
inherited
var

Type(s)

\jFormsBase

the action selector

_action : string
inherited
var

Type(s)

string

params for the action

_actionParams : array
inherited
var

Type(s)

array

form name

_name : 
inherited

Type(s)

options for the builder

options : array
inherited
var

options for the builder

Type(s)

array

_endt

_endt : 
inherited

Type(s)