static
hideField
($form, $field, [$speed = 0])
static
showField
($form, $field, [$speed = 0])
Class Constructor
__construct
([$name = 'my_form'])
Redefinition of:
- TForm::__construct()
- Class Constructor
Redefined in descendants as:
Add a form action
addQuickAction
($label, $action, [$icon = 'fa:save'])
-
$label: Action Label
-
$action: TAction Object
-
$icon: Action Icon
Redefined in descendants as:
Add a form button
addQuickButton
($label, $action, [$icon = 'fa:save'])
-
$label: Action Label
-
$action: Javascript action
-
$icon: Action Icon
Add a form field
addQuickField
($label, $object, [$size = 200], [$validator = NULL], [$label_size = NULL])
-
$label: Field Label
-
$object: Field Object
-
$size: Field Size
-
$validator: Field Validator
-
$label_size
Add a form field
addQuickFields
($label, $objects, [$required = FALSE])
-
$label: Field Label
-
$objects: Array of Objects
-
$required: Boolean TRUE if required
Clear actions row
delActions
()
Detach action buttons
detachActionButtons
()
Return an array with action buttons
getActionButtons
()
Returns the actions container
getActionsContainer
()
Returns the form container
getContainer
()
Return the fields by row count
getFieldsByRow
()
Returns the input groups
getInputRows
()
Returns the inner table
getTable
()
Turn on/off client validation
setClientValidation
($bool)
Define the field quantity per row
setFieldsByRow
($count)
Add a form title
setFormTitle
($title)
Redefined in descendants as:
Intercepts whenever someones assign a new property's value
__set
($name, $value)
-
$name: Property Name
-
$value: Property Value
Redefinition of:
- TForm::__set()
- Intercepts whenever someones assign a new property's value
Inherited Methods
Inherited From TForm
TForm::__construct()
TForm::add()
TForm::addField()
TForm::clear()
TForm::delField()
TForm::delFields()
TForm::getChild()
TForm::getData()
TForm::getField()
TForm::getFields()
TForm::getFormByName()
TForm::getName()
TForm::getValues()
TForm::pack()
TForm::sendData()
TForm::setData()
TForm::setEditable()
TForm::setFields()
TForm::setName()
TForm::setProperty()
TForm::setTagName()
TForm::show()
TForm::silentField()
TForm::unsetProperty()
TForm::validate()
TForm::__set()