CoolCMS API

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

saveWatchdogForm()

private saveWatchdogForm(ArrayHash<string|int, mixed> $values) : bool
Parameters
$values : ArrayHash<string|int, mixed>
Return values
bool
On this page

Search results