\qfq Form

Class Form

Summary

Methods
Properties
Constants
__construct()
process()
No public properties found
No constants found
No protected methods found
$store
$db
$eval
$formSpec
$feSpecAction
$feSpecNative
N/A
loadFormSpecification()
getFormName()
validateForm()
No private properties found
N/A

Properties

$store

$store : \qfq\Store

Type

\qfq\Store — instantiated class

$db

$db : \qfq\Database

Type

\qfq\Database — instantiated class

$eval

$eval : \qfq\Evaluate

Type

\qfq\Evaluate — instantiated class

$formSpec

$formSpec : 

Type

$feSpecAction

$feSpecAction : 

Type

$feSpecNative

$feSpecNative : 

Type

Methods

__construct()

__construct(  $bodytext = '') 

Parameters

$bodytext

process()

process() : string

Returns

string

loadFormSpecification()

loadFormSpecification() : string

Loads specification of recent form.

Evaluates Form and all FormElements.

Loaded Form is in $this->formSpec Loaded 'action' FormElements are in $this->feSpecAction Loaded 'native' FormElements are in $this->feSpecNative

Throws

\qfq\exceptions\DbException
\qfq\exceptions\UserException

Returns

string —

formName

getFormName()

getFormName() : string

Throws

\qfq\exceptions\UserException
\qfq\exceptions\CodeException

Returns

string

validateForm()

validateForm() : boolean

Throws

\qfq\exceptions\CodeException
\qfq\exceptions\UserException

Returns

boolean —
  • 'true' if SIP exists, else 'false'