CoolCMS API

WatchdogFormTrait

Add and edit form of a company catalog watchdog.

User, category and region are chosen by pickers (category and region are saved by an object-graph save); type, brand and language are selects whose options the presenter supplies. 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