CoolCMS API

BlacklistedWordFormTrait

Add/edit form of a blacklisted word: the active switch and the word per language (language tabs; a language with its switch off is not checked). The skeleton comes from {@see \App\Core\Base\Admin\BasePresenter::createForm()}.

Table of Contents

Methods

createComponentEditForm()  : Form
saveBlacklistedWordForm()  : bool
setBlacklistedWordFormDefaults()  : void

Methods

saveBlacklistedWordForm()

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

Search results