Class jFormsBuilderHtml

Description

HTML form builder

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

jFormsBuilderBase
   |
   --jFormsBuilderHtml
Direct descendents
Class Description
htmlJformsBuilder HTML form builder
htmllightJformsBuilder HTML form builder
Variable Summary
Method Summary
void commonJs ( $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 259)
  • access: protected
void commonJs ( $ctrl)
  • $ctrl

Redefined in descendants as:
echoCheckboxes (line 578)
  • 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 659)
  • access: protected
void fillSelect ( $ctrl,  $value)
  • $ctrl
  • $value
jsCaptcha (line 956)
  • access: protected
void jsCaptcha ( $ctrl)
  • $ctrl
jsCheckbox (line 571)
  • access: protected
void jsCheckbox ( $ctrl)
  • $ctrl
jsCheckboxes (line 628)
  • access: protected
void jsCheckboxes ( $ctrl)
  • $ctrl
jsChoice (line 1036)
  • access: protected
void jsChoice ( $ctrl)
  • $ctrl
jsChoiceInternal (line 1047)
  • access: protected
void jsChoiceInternal ( $ctrl)
  • $ctrl
jsDate (line 498)
  • access: protected
void jsDate ( $ctrl)
  • $ctrl
jsDatetime (line 546)
  • access: protected
void jsDatetime ( $ctrl)
  • $ctrl
jsGroup (line 975)
  • access: protected
void jsGroup ( $ctrl)
  • $ctrl
jsHtmleditor (line 808)
  • access: protected
void jsHtmleditor ( $ctrl)
  • $ctrl
jsInput (line 295)
  • access: protected
void jsInput ( $ctrl)
  • $ctrl
jsListbox (line 768)
  • access: protected
void jsListbox ( $ctrl)
  • $ctrl
jsMenulist (line 716)
  • access: protected
void jsMenulist ( $ctrl)
  • $ctrl

Redefined in descendants as:
jsOutput (line 883)
  • access: protected
void jsOutput ( $ctrl)
  • $ctrl
jsRadiobuttons (line 651)
  • access: protected
void jsRadiobuttons ( $ctrl)
  • $ctrl
jsReset (line 940)
  • access: protected
void jsReset ( $ctrl)
  • $ctrl
jsSecret (line 836)
  • access: protected
void jsSecret ( $ctrl)
  • $ctrl
jsSecretconfirm (line 862)
  • access: protected
void jsSecretconfirm ( $ctrl)
  • $ctrl
jsSubmit (line 927)
  • access: protected
void jsSubmit ( $ctrl)
  • $ctrl
jsTextarea (line 789)
  • access: protected
void jsTextarea ( $ctrl, [ $withjsobj = true])
  • $ctrl
  • $withjsobj
jsUpload (line 897)
  • access: protected
void jsUpload ( $ctrl)
  • $ctrl
jsWikieditor (line 819)
  • 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 944)
  • access: protected
void outputCaptcha ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputCheckbox (line 558)
  • access: protected
void outputCheckbox ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputCheckboxes (line 611)
  • access: protected
void outputCheckboxes ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputChoice (line 979)
  • 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 474)
  • access: protected
void outputDate ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputDatetime (line 510)
  • 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 960)
  • 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 1054)
  • access: protected
void outputHelp ( $ctrl)
  • $ctrl
outputHtmleditor (line 804)
  • access: protected
void outputHtmleditor ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputInput (line 281)
  • access: protected
void outputInput ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputListbox (line 723)
  • access: protected
void outputListbox ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputMenulist (line 697)
  • 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 867)
  • access: protected
void outputOutput ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputRadiobuttons (line 635)
  • access: protected
void outputRadiobuttons ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputReset (line 931)
  • access: protected
void outputReset ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputSecret (line 823)
  • access: protected
void outputSecret ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputSecretconfirm (line 852)
  • access: protected
void outputSecretconfirm ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputSubmit (line 903)
  • access: protected
void outputSubmit ( $ctrl,  $attr)
  • $ctrl
  • $attr
outputTextarea (line 779)
  • access: protected
void outputTextarea ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputUpload (line 886)
  • access: protected
void outputUpload ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputWikieditor (line 815)
  • access: protected
void outputWikieditor ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
showRadioCheck (line 591)
  • access: protected
void showRadioCheck ( $ctrl,  &$attr,  &$value,  $span)
  • $ctrl
  • &$attr
  • &$value
  • $span
_outputAttr (line 249)
  • access: protected
void _outputAttr ( &$attributes)
  • &$attributes
_outputDateControlDay (line 331)
  • access: protected
void _outputDateControlDay ( $ctrl,  $attr,  $value)
  • $ctrl
  • $attr
  • $value
_outputDateControlHour (line 409)
  • access: protected
void _outputDateControlHour ( $ctrl,  $attr,  $value)
  • $ctrl
  • $attr
  • $value
_outputDateControlMinutes (line 430)
  • access: protected
void _outputDateControlMinutes ( $ctrl,  $attr,  $value)
  • $ctrl
  • $attr
  • $value
_outputDateControlMonth (line 352)
  • access: protected
void _outputDateControlMonth ( $ctrl,  $attr,  $value)
  • $ctrl
  • $attr
  • $value
_outputDateControlSeconds (line 451)
  • access: protected
void _outputDateControlSeconds ( $ctrl,  $attr,  $value)
  • $ctrl
  • $attr
  • $value
_outputDateControlYear (line 380)
  • 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 Mon, 19 Sep 2011 14:12:45 +0200 by phpDocumentor 1.4.3