FormBase
class FormBase
Class FormBase
Properties
protected array | $config | ||
bool | $save_requires_edit_var | ||
Form | $form | ||
protected | $field_disable_save | Set to false if this field is not "saveable", e.g. static test |
Methods
__construct()
FormBase constructor.
append(string $name, mixed $value, bool|string $key = false)
No description
void
concat(string $name, string $value)
No description
mixed
destroy($name)
No description
mixed
get(string $name)
No description
array
getConfig()
No description
array
get_group(string $prefix)
No description
array
get_properties()
No description
init_obj()
Initializes the form base
bool
is_displayed()
Checks if the field is hidden by a tag. It is important when validating
$this
set(string $name, mixed $value)
No description
void
set_properties(array $array)
No description
Details
at line 31
__construct()
FormBase constructor.
The constructor is able to set an array of properties options
at line 200
append(string $name, mixed $value, bool|string $key = false)
No description
at line 185
void
concat(string $name, string $value)
No description
at line 170
mixed
destroy($name)
No description
at line 76
mixed
get(string $name)
No description
at line 83
array
getConfig()
No description
at line 219
array
get_group(string $prefix)
No description
at line 91
array
get_properties()
No description
at line 39
init_obj()
Initializes the form base
at line 239
bool
is_displayed()
Checks if the field is hidden by a tag. It is important when validating
at line 103
$this
set(string $name, mixed $value)
No description
at line 155
void
set_properties(array $array)
No description