BaseFormList
class BaseFormList (View source)
Properties
static protected BaseForm>> | $all | List of all forms |
Methods
static array
getAllFormNames()
No description
static bool
isValid(string $name)
No description
static string|null
get(string $name)
No description
bool
process(bool $allowPartialSave = true, bool $checkFormSubmit = true)
Processes forms, returns true on successful save
string
displayErrors()
Displays errors
void
fixErrors()
Reverts erroneous fields to their default values
bool
hasErrors()
Tells whether form validation failed
static array
getFields()
Returns list of fields used in the form.
Details
static array
getAllFormNames()
No description
static bool
isValid(string $name)
No description
static string|null
get(string $name)
No description
final
__construct(ConfigFile $cf)
No description
bool
process(bool $allowPartialSave = true, bool $checkFormSubmit = true)
Processes forms, returns true on successful save
string
displayErrors()
Displays errors
void
fixErrors()
Reverts erroneous fields to their default values
bool
hasErrors()
Tells whether form validation failed
static array
getFields()
Returns list of fields used in the form.