TemplateController
Table of Contents
-
$builder
: mixed
-
$currentCtrl
: jFormsControl|null
-
$currentCtrlRef
: string|null
-
$currentSubmitCtrl
: jFormsControl|null
-
$currentSubmitRef
: string|null
-
$displayedControls
: mixed
-
$displayedSubmits
: mixed
-
$form
: mixed
-
$formViewMode
: mixed
-
__construct()
: mixed
-
controlsLoop()
: Generator
-
doesControlExist()
: mixed
-
endForm()
: mixed
-
getControlValue()
: mixed
-
isControlValueEqualsTo()
: mixed
-
isCurrentControl()
: mixed
-
outputAllControls()
: mixed
-
outputAllControlsValues()
: mixed
-
outputControl()
: mixed
-
outputControlLabel()
: mixed
-
outputControlValue()
: mixed
-
outputReset()
: mixed
-
outputSubmit()
: mixed
-
startForm()
: mixed
-
submitsLoop()
: Generator
-
retrieveControl()
: mixed
$builder
protected
mixed
$builder
$currentCtrl
protected
jFormsControl|null
$currentCtrl
= null
$currentCtrlRef
protected
string|null
$currentCtrlRef
= null
$currentSubmitCtrl
protected
jFormsControl|null
$currentSubmitCtrl
= null
$currentSubmitRef
protected
string|null
$currentSubmitRef
= null
$displayedControls
protected
mixed
$displayedControls
= array()
$displayedSubmits
protected
mixed
$displayedSubmits
= array()
protected
mixed
$form
protected
mixed
$formViewMode
= false
__construct()
public
__construct(jFormsBase $form, mixed $builderName[, mixed $builderOptions = array() ][, mixed $submitActionSelector = '' ][, mixed $submitActionParameters = [] ]) : mixed
Parameters
-
$form
: jFormsBase
-
-
$builderName
: mixed
-
-
$builderOptions
: mixed
= array()
-
-
$submitActionSelector
: mixed
= ''
-
-
$submitActionParameters
: mixed
= []
-
Return values
mixed
—
controlsLoop()
public
controlsLoop([bool $insideRealForm = true ][, array<string|int, mixed>|null $controlsToDisplay = null ][, array<string|int, mixed>|null $controlsToNotDisplay = null ]) : Generator
Parameters
-
$insideRealForm
: bool
= true
-
-
$controlsToDisplay
: array<string|int, mixed>|null
= null
-
-
$controlsToNotDisplay
: array<string|int, mixed>|null
= null
-
Return values
Generator
—
doesControlExist()
public
doesControlExist(mixed $ref) : mixed
Parameters
-
$ref
: mixed
-
Return values
mixed
—
public
endForm() : mixed
Return values
mixed
—
getControlValue()
public
getControlValue(mixed $ref, mixed $tplName, mixed $insteadOfDisplay) : mixed
Parameters
-
$ref
: mixed
-
-
$tplName
: mixed
-
-
$insteadOfDisplay
: mixed
-
Return values
mixed
—
isControlValueEqualsTo()
public
isControlValueEqualsTo(mixed $value[, mixed $ref = '' ]) : mixed
Parameters
-
$value
: mixed
-
-
$ref
: mixed
= ''
-
Return values
mixed
—
isCurrentControl()
public
isCurrentControl(mixed ...$refs) : mixed
Parameters
-
$refs
: mixed
-
Return values
mixed
—
outputAllControls()
public
outputAllControls() : mixed
Return values
mixed
—
outputAllControlsValues()
public
outputAllControlsValues() : mixed
Return values
mixed
—
outputControl()
public
outputControl([mixed $ref = '' ][, mixed $attributes = [] ][, mixed $tplName = '' ]) : mixed
Parameters
-
$ref
: mixed
= ''
-
-
$attributes
: mixed
= []
-
-
$tplName
: mixed
= ''
-
Return values
mixed
—
outputControlLabel()
public
outputControlLabel([mixed $ref = '' ][, mixed $format = '' ][, mixed $tplName = '' ]) : mixed
Parameters
-
$ref
: mixed
= ''
-
-
$format
: mixed
= ''
-
-
$tplName
: mixed
= ''
-
Return values
mixed
—
outputControlValue()
public
outputControlValue([mixed $ref = '' ][, mixed $attributes = '' ][, mixed $tplName = '' ][, mixed $rawValue = false ]) : mixed
Parameters
-
$ref
: mixed
= ''
-
-
$attributes
: mixed
= ''
-
-
$tplName
: mixed
= ''
-
-
$rawValue
: mixed
= false
-
Return values
mixed
—
outputReset()
public
outputReset() : mixed
Return values
mixed
—
outputSubmit()
public
outputSubmit([mixed $ref = '' ][, mixed $attributes = [] ][, mixed $tplName = '' ]) : mixed
Parameters
-
$ref
: mixed
= ''
-
-
$attributes
: mixed
= []
-
-
$tplName
: mixed
= ''
-
Return values
mixed
—
public
startForm() : mixed
Return values
mixed
—
submitsLoop()
public
submitsLoop([array<string|int, mixed>|null $submitToDisplay = null ]) : Generator
Parameters
-
$submitToDisplay
: array<string|int, mixed>|null
= null
-
Return values
Generator
—
retrieveControl()
protected
retrieveControl(mixed &$ref, mixed $tplName) : mixed
Parameters
-
$ref
: mixed
-
-
$tplName
: mixed
-
Return values
mixed
—