Class jFormsBuilderHtml

Description

HTML form builder

Located in /forms/jFormsBuilderHtml.class.php (line 18)

jFormsBuilderBase
   |
   --jFormsBuilderHtml
Direct descendents
Class Description
htmllightJformsBuilder HTML form builder
htmlJformsBuilder HTML form builder
Variable Summary
Method Summary
void commonJs (jFormsControl $ctrl)
void echoCheckboxes ( $span,  $id,  &$values,  &$attr,  &$value,  &$i)
void escJsStr ( $str)
void fillSelect ( $ctrl,  $value)
void jsCaptcha ( $ctrl)
void jsCheckbox ( $ctrl)
void jsCheckboxes ( $ctrl)
void jsChoice ( $ctrl)
void jsChoiceInternal ( $ctrl)
void jsDate ( $ctrl)
void jsDatetime ( $ctrl)
void jsGroup ( $ctrl)
void jsHtmleditor ( $ctrl)
void jsInput ( $ctrl)
void jsListbox ( $ctrl)
void jsMenulist ( $ctrl)
void jsOutput ( $ctrl)
void jsRadiobuttons ( $ctrl)
void jsReset ( $ctrl)
void jsSecret ( $ctrl)
void jsSecretconfirm ( $ctrl)
void jsSubmit ( $ctrl)
void jsTextarea ( $ctrl, [ $withjsobj = true])
void jsUpload ( $ctrl)
void jsWikieditor ( $ctrl)
void outputCaptcha ( $ctrl,  &$attr)
void outputCheckbox ( $ctrl,  &$attr)
void outputCheckboxes ( $ctrl,  &$attr)
void outputChoice ( $ctrl,  &$attr)
void outputControl ( $ctrl, [ $attributes = array()])
void outputControlLabel ( $ctrl)
void outputDate ( $ctrl,  &$attr)
void outputDatetime ( $ctrl,  &$attr)
void outputFooter ()
void outputGroup ( $ctrl,  &$attr)
void outputHeader (array $params)
void outputHelp ( $ctrl)
void outputHtmleditor ( $ctrl,  &$attr)
void outputInput ( $ctrl,  &$attr)
void outputListbox ( $ctrl,  &$attr)
void outputMenulist ( $ctrl,  &$attr)
void outputMetaContent ( $t)
void outputOutput ( $ctrl,  &$attr)
void outputRadiobuttons ( $ctrl,  &$attr)
void outputReset ( $ctrl,  &$attr)
void outputSecret ( $ctrl,  &$attr)
void outputSecretconfirm ( $ctrl,  &$attr)
void outputSubmit ( $ctrl,  $attr)
void outputTextarea ( $ctrl,  &$attr)
void outputUpload ( $ctrl,  &$attr)
void outputWikieditor ( $ctrl,  &$attr)
void showRadioCheck ( $ctrl,  &$attr,  &$value,  $span)
void _outputAttr ( &$attributes)
void _outputDateControlDay ( $ctrl,  $attr,  $value)
void _outputDateControlHour ( $ctrl,  $attr,  $value)
void _outputDateControlMinutes ( $ctrl,  $attr,  $value)
void _outputDateControlMonth ( $ctrl,  $attr,  $value)
void _outputDateControlSeconds ( $ctrl,  $attr,  $value)
void _outputDateControlYear ( $ctrl,  $attr,  $value)
Variables
mixed $isRootControl = true (line 24)
  • access: protected
mixed $jFormsJsVarName = 'jForms' (line 20)
  • access: protected

Redefined in descendants as:
mixed $jsContent = '' (line 191)
  • access: protected
mixed $lastJsContent = '' (line 193)
  • access: protected
mixed $options (line 22)
  • access: protected

Inherited Variables

Inherited from jFormsBuilderBase

jFormsBuilderBase::$_action
jFormsBuilderBase::$_actionParams
jFormsBuilderBase::$_endt
jFormsBuilderBase::$_form
jFormsBuilderBase::$_name
Methods
commonJs (line 262)
  • access: protected
void commonJs (jFormsControl $ctrl)

Redefined in descendants as:
echoCheckboxes (line 585)
  • access: protected
void echoCheckboxes ( $span,  $id,  &$values,  &$attr,  &$value,  &$i)
  • $span
  • $id
  • &$values
  • &$attr
  • &$value
  • &$i
escJsStr (line 255)
  • access: protected
void escJsStr ( $str)
  • $str
fillSelect (line 666)
  • access: protected
void fillSelect ( $ctrl,  $value)
  • $ctrl
  • $value
jsCaptcha (line 971)
  • access: protected
void jsCaptcha ( $ctrl)
  • $ctrl
jsCheckbox (line 578)
  • access: protected
void jsCheckbox ( $ctrl)
  • $ctrl
jsCheckboxes (line 635)
  • access: protected
void jsCheckboxes ( $ctrl)
  • $ctrl
jsChoice (line 1051)
  • access: protected
void jsChoice ( $ctrl)
  • $ctrl
jsChoiceInternal (line 1062)
  • access: protected
void jsChoiceInternal ( $ctrl)
  • $ctrl
jsDate (line 505)
  • access: protected
void jsDate ( $ctrl)
  • $ctrl
jsDatetime (line 553)
  • access: protected
void jsDatetime ( $ctrl)
  • $ctrl
jsGroup (line 990)
  • access: protected
void jsGroup ( $ctrl)
  • $ctrl
jsHtmleditor (line 823)
  • access: protected
void jsHtmleditor ( $ctrl)
  • $ctrl
jsInput (line 302)
  • access: protected
void jsInput ( $ctrl)
  • $ctrl
jsListbox (line 783)
  • access: protected
void jsListbox ( $ctrl)
  • $ctrl
jsMenulist (line 728)
  • access: protected
void jsMenulist ( $ctrl)
  • $ctrl

Redefined in descendants as:
jsOutput (line 898)
  • access: protected
void jsOutput ( $ctrl)
  • $ctrl
jsRadiobuttons (line 658)
  • access: protected
void jsRadiobuttons ( $ctrl)
  • $ctrl
jsReset (line 955)
  • access: protected
void jsReset ( $ctrl)
  • $ctrl
jsSecret (line 851)
  • access: protected
void jsSecret ( $ctrl)
  • $ctrl
jsSecretconfirm (line 877)
  • access: protected
void jsSecretconfirm ( $ctrl)
  • $ctrl
jsSubmit (line 942)
  • access: protected
void jsSubmit ( $ctrl)
  • $ctrl
jsTextarea (line 804)
  • access: protected
void jsTextarea ( $ctrl, [ $withjsobj = true])
  • $ctrl
  • $withjsobj
jsUpload (line 912)
  • access: protected
void jsUpload ( $ctrl)
  • $ctrl
jsWikieditor (line 834)
  • access: protected
void jsWikieditor ( $ctrl)
  • $ctrl

Redefined in descendants as:
outputAllControls (line 26)
  • access: public
void outputAllControls ()

Redefinition of:
jFormsBuilderBase::outputAllControls()
displays all the form. outputMetaContent, outputHeader and outputFooters are also called
outputCaptcha (line 959)
  • access: protected
void outputCaptcha ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputCheckbox (line 565)
  • access: protected
void outputCheckbox ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputCheckboxes (line 618)
  • access: protected
void outputCheckboxes ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputChoice (line 994)
  • access: protected
void outputChoice ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputControl (line 221)
  • access: public
void outputControl ( $ctrl, [ $attributes = array()])
  • $ctrl
  • $attributes

Redefinition of:
jFormsBuilderBase::outputControl()
displays the content corresponding of the given control
outputControlLabel (line 206)
  • access: public
void outputControlLabel ( $ctrl)
  • $ctrl

Redefinition of:
jFormsBuilderBase::outputControlLabel()
displays the label corresponding of the given control
outputDate (line 481)
  • access: protected
void outputDate ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputDatetime (line 517)
  • access: protected
void outputDatetime ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputFooter (line 195)
  • access: public
void outputFooter ()

Redefinition of:
jFormsBuilderBase::outputFooter()
output the footer content of the form
outputGroup (line 975)
  • access: protected
void outputGroup ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputHeader (line 106)

output the header content of the form

  • access: public
void outputHeader (array $params)
  • array $params: some parameters
    • "errDecorator"=>"name of your javascript object for error listener"
    • "method" => "post" or "get". default is "post"

Redefinition of:
jFormsBuilderBase::outputHeader()
output the header content of the form
outputHeaderScript (line 89)
  • access: protected
void outputHeaderScript ()

Redefined in descendants as:
outputHelp (line 1069)
  • access: protected
void outputHelp ( $ctrl)
  • $ctrl
outputHtmleditor (line 819)
  • access: protected
void outputHtmleditor ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputInput (line 288)
  • access: protected
void outputInput ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputListbox (line 735)
  • access: protected
void outputListbox ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputMenulist (line 704)
  • access: protected
void outputMenulist ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputMetaContent (line 58)
  • access: public
void outputMetaContent ( $t)
  • $t

Redefinition of:
jFormsBuilderBase::outputMetaContent()
called during the meta content processing in templates This method should set things on the response, like adding css styles, javascript links etc.

Redefined in descendants as:
outputOutput (line 882)
  • access: protected
void outputOutput ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputRadiobuttons (line 642)
  • access: protected
void outputRadiobuttons ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputReset (line 946)
  • access: protected
void outputReset ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputSecret (line 838)
  • access: protected
void outputSecret ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputSecretconfirm (line 867)
  • access: protected
void outputSecretconfirm ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputSubmit (line 918)
  • access: protected
void outputSubmit ( $ctrl,  $attr)
  • $ctrl
  • $attr
outputTextarea (line 794)
  • access: protected
void outputTextarea ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputUpload (line 901)
  • access: protected
void outputUpload ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputWikieditor (line 830)
  • access: protected
void outputWikieditor ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
showRadioCheck (line 598)
  • access: protected
void showRadioCheck ( $ctrl,  &$attr,  &$value,  $span)
  • $ctrl
  • &$attr
  • &$value
  • $span
_outputAttr (line 249)
  • access: protected
void _outputAttr ( &$attributes)
  • &$attributes
_outputDateControlDay (line 338)
  • access: protected
void _outputDateControlDay ( $ctrl,  $attr,  $value)
  • $ctrl
  • $attr
  • $value
_outputDateControlHour (line 416)
  • access: protected
void _outputDateControlHour ( $ctrl,  $attr,  $value)
  • $ctrl
  • $attr
  • $value
_outputDateControlMinutes (line 437)
  • access: protected
void _outputDateControlMinutes ( $ctrl,  $attr,  $value)
  • $ctrl
  • $attr
  • $value
_outputDateControlMonth (line 359)
  • access: protected
void _outputDateControlMonth ( $ctrl,  $attr,  $value)
  • $ctrl
  • $attr
  • $value
_outputDateControlSeconds (line 458)
  • access: protected
void _outputDateControlSeconds ( $ctrl,  $attr,  $value)
  • $ctrl
  • $attr
  • $value
_outputDateControlYear (line 387)
  • access: protected
void _outputDateControlYear ( $ctrl,  $attr,  $value)
  • $ctrl
  • $attr
  • $value

Inherited Methods

Inherited From jFormsBuilderBase

jFormsBuilderBase::__construct()
jFormsBuilderBase::generateFormName()
jFormsBuilderBase::getName()
jFormsBuilderBase::outputAllControls()
jFormsBuilderBase::outputControl()
jFormsBuilderBase::outputControlLabel()
jFormsBuilderBase::outputFooter()
jFormsBuilderBase::outputHeader()
jFormsBuilderBase::outputMetaContent()
jFormsBuilderBase::setAction()

Documentation generated on Wed, 24 Sep 2014 21:59:21 +0200 by phpDocumentor 1.4.3