Class Quform_Form
Located at Quform/Form.php
public
|
#
__construct( integer $id, string $uniqueId,
|
public
|
|
public
integer
|
|
public
mixed
|
|
public
|
|
public
string
|
|
public
string
|
|
protected
string
|
#
getTitleDescriptionHtml( boolean $showTitle = true, boolean $showDescription = true )
Get the HTML for the title and description |
protected
array
|
|
public
boolean
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
protected
array
|
|
protected
string
|
|
protected
string
|
|
public
array
|
#
getContext( )
Get the context (inheritable settings) for passing to child elements when rendering the form and generating CSS |
protected
string
|
|
protected
string
|
|
protected
string
|
|
public
|
|
public
|
|
public
|
|
public
string
|
#
replaceVariables( string $text, string $format = 'text' )
Replace the variables in the given string |
public
string
|
#
replaceVariablesPreProcess( string $text, string $format = 'text' )
Replace the variables in the given text before the form is processed |
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
string
|
|
protected
string
|
|
public
|
|
public
|
|
public
string
|
|
public
string
|
|
public
|
|
public
array
|
|
public
|
|
public
|
|
public
array
|
|
public
array
|
|
public
|
|
public
boolean
|
|
public
array
|
|
protected
string
|
|
public
|
|
public
|
|
public
|
#
setValueFromStorage( string|integer $nameOrId, mixed $value )
Set the value of the element with the given name |
public
array
|
|
public
mixed
|
|
public
string
|
#
getValueHtml( string $nameOrId )
Get the value of the element with the given name, formatted in HTML |
public
string
|
#
getValueText( string $nameOrId, string $separator = ', ' )
Get the value of the element with the given name, formatted in plain text |
public
|
|
public
|
|
public
array
|
|
public
string
|
|
protected
array
|
|
protected
string
|
|
public
boolean
|
#
hasEnhancedFileUploadElement( )
Does the form have at least one File Upload element with enhanced upload enabled? |
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
array
|
|
public
|
#
calculateElementVisibility( )
Server-side conditional logic processing, determines which form elements are hidden by conditional logic |
protected
|
#
calculateElementVisibilityHelper( array $elements, array & $ancestors,
Recursive helper function for calculateElementVisibility |
public
|
|
public
|
|
public
integer|null
|
#
getNextPageId( boolean $reverse = false )
Get the ID of the next page that isn't conditionally hidden |
public
integer
|
|
public
boolean
|
|
protected
array
|
|
public
|
|
public
integer|null
|
|
public
boolean
|
#
checkLogicAction( string $action, string $match, array $rules )
Check the given logic data against the form data and return the action |
protected
boolean
|
|
public
|
|
public
|
|
public
string
|
|
public
string
|
|
public
RecursiveIteratorIterator
|
#
getRecursiveIterator( integer $mode = RecursiveIteratorIterator::LEAVES_ONLY )
Get the recursive iterator to iterate over the form elements |
public static
boolean
|
|
public static
string
|
|
public
string
|
|
public static
array
|
protected
integer
|
$id
|
|
protected
string
|
$uniqueId
The unique ID is unique to each form instance, even the same form on the same page |
|
protected
|
$pages
|
#
array()
|
protected
array
|
$config
|
#
array()
|
protected
|
$notifications
Notifications to send |
#
array()
|
protected
|
$confirmations
Confirmations |
#
array()
|
protected
|
$confirmation
The single confirmation to use for the submission |
|
protected
|
$tokenReplacer
|
|
protected
|
$options
|
|
protected
|
$session
|
|
protected
boolean
|
$active
Is the form active? |
#
true
|
protected
boolean
|
$submitted
Has the form been successfully submitted? |
#
false
|
protected
boolean
|
$showGlobalError
The flag for showing the global form error message for non-Ajax forms |
#
false
|
protected
string
|
$charset
Character encoding to use |
#
'UTF-8'
|
protected
array
|
$dynamicValues
The dynamic values |
#
array()
|
protected
integer|null
|
$entryId
The current submitted entry ID |
|
protected
|
$currentPage
The current page being viewed/processed |