WatchdogFormTrait
Add/edit form of an advert watchdog.
User, category and region are chosen by Pickers (category and region through the object graph);
type, flag and language by selects (the presenter supplies the options). The region is the unified
System Region (RegionPickerTrait).
Table of Contents
Methods
- createComponentEditForm() : Form
- saveWatchdogForm() : bool
- setWatchdogFormDefaults() : void
Methods
createComponentEditForm()
protected
createComponentEditForm() : Form
Return values
FormsaveWatchdogForm()
private
saveWatchdogForm(ArrayHash<string|int, mixed> $values) : bool
Parameters
- $values : ArrayHash<string|int, mixed>
Return values
boolsetWatchdogFormDefaults()
private
setWatchdogFormDefaults(Form $form) : void
Parameters
- $form : Form