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

Redefined in descendants as:
echoCheckboxes (line 590)
  • access: protected
void echoCheckboxes ( $span,  $id,  &$values,  &$attr,  &$value,  &$i)
  • $span
  • $id
  • &$values
  • &$attr
  • &$value
  • &$i
escJsStr (line 260)
  • access: protected
void escJsStr ( $str)
  • $str
fillSelect (line 671)
  • access: protected
void fillSelect ( $ctrl,  $value)
  • $ctrl
  • $value
jsCaptcha (line 976)
  • access: protected
void jsCaptcha ( $ctrl)
  • $ctrl
jsCheckbox (line 583)
  • access: protected
void jsCheckbox ( $ctrl)
  • $ctrl
jsCheckboxes (line 640)
  • access: protected
void jsCheckboxes ( $ctrl)
  • $ctrl
jsChoice (line 1056)
  • access: protected
void jsChoice ( $ctrl)
  • $ctrl
jsChoiceInternal (line 1067)
  • access: protected
void jsChoiceInternal ( $ctrl)
  • $ctrl
jsDate (line 510)
  • access: protected
void jsDate ( $ctrl)
  • $ctrl
jsDatetime (line 558)
  • access: protected
void jsDatetime ( $ctrl)
  • $ctrl
jsGroup (line 995)
  • access: protected
void jsGroup ( $ctrl)
  • $ctrl
jsHtmleditor (line 828)
  • access: protected
void jsHtmleditor ( $ctrl)
  • $ctrl
jsInput (line 307)
  • access: protected
void jsInput ( $ctrl)
  • $ctrl
jsListbox (line 788)
  • access: protected
void jsListbox ( $ctrl)
  • $ctrl
jsMenulist (line 733)
  • access: protected
void jsMenulist ( $ctrl)
  • $ctrl

Redefined in descendants as:
jsOutput (line 903)
  • access: protected
void jsOutput ( $ctrl)
  • $ctrl
jsRadiobuttons (line 663)
  • access: protected
void jsRadiobuttons ( $ctrl)
  • $ctrl
jsReset (line 960)
  • access: protected
void jsReset ( $ctrl)
  • $ctrl
jsSecret (line 856)
  • access: protected
void jsSecret ( $ctrl)
  • $ctrl
jsSecretconfirm (line 882)
  • access: protected
void jsSecretconfirm ( $ctrl)
  • $ctrl
jsSubmit (line 947)
  • access: protected
void jsSubmit ( $ctrl)
  • $ctrl
jsTextarea (line 809)
  • access: protected
void jsTextarea ( $ctrl, [ $withjsobj = true])
  • $ctrl
  • $withjsobj
jsUpload (line 917)
  • access: protected
void jsUpload ( $ctrl)
  • $ctrl
jsWikieditor (line 839)
  • 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 964)
  • access: protected
void outputCaptcha ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputCheckbox (line 570)
  • access: protected
void outputCheckbox ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputCheckboxes (line 623)
  • access: protected
void outputCheckboxes ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputChoice (line 999)
  • access: protected
void outputChoice ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputControl (line 226)
  • access: public
void outputControl ( $ctrl, [ $attributes = array()])
  • $ctrl
  • $attributes

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

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

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

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 94)
  • access: protected
void outputHeaderScript ()

Redefined in descendants as:
outputHelp (line 1074)
  • access: protected
void outputHelp ( $ctrl)
  • $ctrl
outputHtmleditor (line 824)
  • access: protected
void outputHtmleditor ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputInput (line 293)
  • access: protected
void outputInput ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputListbox (line 740)
  • access: protected
void outputListbox ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputMenulist (line 709)
  • 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 887)
  • access: protected
void outputOutput ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputRadiobuttons (line 647)
  • access: protected
void outputRadiobuttons ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputReset (line 951)
  • access: protected
void outputReset ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputSecret (line 843)
  • access: protected
void outputSecret ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputSecretconfirm (line 872)
  • access: protected
void outputSecretconfirm ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputSubmit (line 923)
  • access: protected
void outputSubmit ( $ctrl,  $attr)
  • $ctrl
  • $attr
outputTextarea (line 799)
  • access: protected
void outputTextarea ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputUpload (line 906)
  • access: protected
void outputUpload ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
outputWikieditor (line 835)
  • access: protected
void outputWikieditor ( $ctrl,  &$attr)
  • $ctrl
  • &$attr
showRadioCheck (line 603)
  • access: protected
void showRadioCheck ( $ctrl,  &$attr,  &$value,  $span)
  • $ctrl
  • &$attr
  • &$value
  • $span
_outputAttr (line 254)
  • access: protected
void _outputAttr ( &$attributes)
  • &$attributes
_outputDateControlDay (line 343)
  • access: protected
void _outputDateControlDay ( $ctrl,  $attr,  $value)
  • $ctrl
  • $attr
  • $value
_outputDateControlHour (line 421)
  • access: protected
void _outputDateControlHour ( $ctrl,  $attr,  $value)
  • $ctrl
  • $attr
  • $value
_outputDateControlMinutes (line 442)
  • access: protected
void _outputDateControlMinutes ( $ctrl,  $attr,  $value)
  • $ctrl
  • $attr
  • $value
_outputDateControlMonth (line 364)
  • access: protected
void _outputDateControlMonth ( $ctrl,  $attr,  $value)
  • $ctrl
  • $attr
  • $value
_outputDateControlSeconds (line 463)
  • access: protected
void _outputDateControlSeconds ( $ctrl,  $attr,  $value)
  • $ctrl
  • $attr
  • $value
_outputDateControlYear (line 392)
  • 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, 26 Oct 2015 21:53:55 +0100 by phpDocumentor 1.4.3