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 182)
  • access: protected
mixed $lastJsContent = '' (line 184)
  • 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 253)
  • access: protected
void commonJs (jFormsControl $ctrl)

Redefined in descendants as:
echoCheckboxes (line 576)
  • access: protected
void echoCheckboxes ( $span,  $id,  &$values,  &$attr,  &$value,  &$i)
  • $span
  • $id
  • &$values
  • &$attr
  • &$value
  • &$i
escJsStr (line 246)
  • access: protected
void escJsStr ( $str)
  • $str
fillSelect (line 657)
  • access: protected
void fillSelect ( $ctrl,  $value)
  • $ctrl
  • $value
jsCaptcha (line 960)
  • access: protected
void jsCaptcha ( $ctrl)
  • $ctrl
jsCheckbox (line 569)
  • access: protected
void jsCheckbox ( $ctrl)
  • $ctrl
jsCheckboxes (line 626)
  • access: protected
void jsCheckboxes ( $ctrl)
  • $ctrl
jsChoice (line 1038)
  • access: protected
void jsChoice ( $ctrl)
  • $ctrl
jsChoiceInternal (line 1049)
  • access: protected
void jsChoiceInternal ( $ctrl)
  • $ctrl
jsDate (line 496)
  • access: protected
void jsDate ( $ctrl)
  • $ctrl
jsDatetime (line 544)
  • access: protected
void jsDatetime ( $ctrl)
  • $ctrl
jsGroup (line 979)
  • access: protected
void jsGroup ( $ctrl)
  • $ctrl
jsHtmleditor (line 812)
  • access: protected
void jsHtmleditor ( $ctrl)
  • $ctrl
jsInput (line 293)
  • access: protected
void jsInput ( $ctrl)
  • $ctrl
jsListbox (line 772)
  • access: protected
void jsListbox ( $ctrl)
  • $ctrl
jsMenulist (line 720)
  • access: protected
void jsMenulist ( $ctrl)
  • $ctrl

Redefined in descendants as:
jsOutput (line 887)
  • access: protected
void jsOutput ( $ctrl)
  • $ctrl
jsRadiobuttons (line 649)
  • access: protected
void jsRadiobuttons ( $ctrl)
  • $ctrl
jsReset (line 944)
  • access: protected
void jsReset ( $ctrl)
  • $ctrl
jsSecret (line 840)
  • access: protected
void jsSecret ( $ctrl)
  • $ctrl
jsSecretconfirm (line 866)
  • access: protected
void jsSecretconfirm ( $ctrl)
  • $ctrl
jsSubmit (line 931)
  • access: protected
void jsSubmit ( $ctrl)
  • $ctrl
jsTextarea (line 793)
  • access: protected
void jsTextarea ( $ctrl, [ $withjsobj = true])
  • $ctrl
  • $withjsobj
jsUpload (line 901)
  • access: protected
void jsUpload ( $ctrl)
  • $ctrl
jsWikieditor (line 823)
  • 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 948)
  • access: protected
void outputCaptcha ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputCheckbox (line 556)
  • access: protected
void outputCheckbox ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputCheckboxes (line 609)
  • access: protected
void outputCheckboxes ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputChoice (line 983)
  • access: protected
void outputChoice ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputControl (line 212)
  • access: public
void outputControl ( $ctrl, [ $attributes = array()])
  • $ctrl
  • $attributes

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

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

Redefinition of:
jFormsBuilderBase::outputFooter()
output the footer content of the form
outputGroup (line 964)
  • 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 1056)
  • access: protected
void outputHelp ( $ctrl)
  • $ctrl
outputHtmleditor (line 808)
  • access: protected
void outputHtmleditor ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputInput (line 279)
  • access: protected
void outputInput ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputListbox (line 727)
  • access: protected
void outputListbox ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputMenulist (line 695)
  • 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 871)
  • access: protected
void outputOutput ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputRadiobuttons (line 633)
  • access: protected
void outputRadiobuttons ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputReset (line 935)
  • access: protected
void outputReset ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputSecret (line 827)
  • access: protected
void outputSecret ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputSecretconfirm (line 856)
  • access: protected
void outputSecretconfirm ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputSubmit (line 907)
  • access: protected
void outputSubmit ( $ctrl,  $attr)
  • $ctrl
  • $attr
outputTextarea (line 783)
  • access: protected
void outputTextarea ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputUpload (line 890)
  • access: protected
void outputUpload ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputWikieditor (line 819)
  • access: protected
void outputWikieditor ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
showRadioCheck (line 589)
  • access: protected
void showRadioCheck ( $ctrl,  &$attr,  &$value,  $span)
  • $ctrl
  • &$attr
  • &$value
  • $span
_outputAttr (line 240)
  • access: protected
void _outputAttr ( &$attributes)
  • &$attributes
_outputDateControlDay (line 329)
  • access: protected
void _outputDateControlDay ( $ctrl,  $attr,  $value)
  • $ctrl
  • $attr
  • $value
_outputDateControlHour (line 407)
  • access: protected
void _outputDateControlHour ( $ctrl,  $attr,  $value)
  • $ctrl
  • $attr
  • $value
_outputDateControlMinutes (line 428)
  • access: protected
void _outputDateControlMinutes ( $ctrl,  $attr,  $value)
  • $ctrl
  • $attr
  • $value
_outputDateControlMonth (line 350)
  • access: protected
void _outputDateControlMonth ( $ctrl,  $attr,  $value)
  • $ctrl
  • $attr
  • $value
_outputDateControlSeconds (line 449)
  • access: protected
void _outputDateControlSeconds ( $ctrl,  $attr,  $value)
  • $ctrl
  • $attr
  • $value
_outputDateControlYear (line 378)
  • 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 Thu, 19 Sep 2013 00:04:45 +0200 by phpDocumentor 1.4.3