class UserFormList extends BaseFormList (View source)

Properties

static protected BaseForm>> $all

Methods

static array
getAllFormNames()

No description

static bool
isValid(string $name)

No description

static string|null
get(string $name)

No description

__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.

Details

static array getAllFormNames()

No description

Return Value

array

static bool isValid(string $name)

No description

Parameters

string $name Name

Return Value

bool

static string|null get(string $name)

No description

Parameters

string $name Name

Return Value

string|null

final __construct(ConfigFile $cf)

No description

Parameters

ConfigFile $cf

Config file instance

bool process(bool $allowPartialSave = true, bool $checkFormSubmit = true)

Processes forms, returns true on successful save

Parameters

bool $allowPartialSave

allows for partial form saving on failed validation

bool $checkFormSubmit

whether check for $_POST['submit_save']

Return Value

bool

string displayErrors()

Displays errors

Return Value

string

HTML for errors

void fixErrors()

Reverts erroneous fields to their default values

Return Value

void

bool hasErrors()

Tells whether form validation failed

Return Value

bool

static array getFields()

Returns list of fields used in the form.

Return Value

array