Returns the form object by its name
static
getFormByName
($name)
Send data for a form located in the parent window
static
sendData
($form_name, $object, [$aggregate = FALSE], [$fireEvents = TRUE], [$timeout = 0])
-
$form_name: Form Name
-
$object: An Object containing the form data
-
$aggregate
-
$fireEvents
-
$timeout
Class Constructor
__construct
([$name = 'my_form'])
Redefined in descendants as:
Add a container to the form (usually a table or panel)
add
($object)
-
$object: Any Object that implements the show() method
Remove all form fields
delFields
()
Returns the child object
getChild
()
Returns the form POST data as an object
getData
([$class = 'StdClass'])
-
$class: A string containing the class for the returning object
Implementation of:
- AdiantiFormInterface::getData()
Returns the form start values as an object
getValues
([$class = 'StdClass'], [$withOptions = false])
-
$class: A string containing the class for the returning object
-
$withOptions
Pack a container to the form (usually a table or panel)
pack
($object,)
-
$object,: ...Any Object that implements the show() method
Define if the form will be editable
setEditable
($bool)
Define a form property
setProperty
($name, $value, [$replace = TRUE])
-
$name: Property Name
-
$value: Property Value
-
$replace
Change tag name
setTagName
($name)
Silent field
silentField
($name)
Unset form property
unsetProperty
($name)
Intercepts whenever someones assign a new property's value
__set
($name, $value)
-
$name: Property Name
-
$value: Property Value
Redefined in descendants as: