CoolCMS API

FormTrait

Page recommendation form.

Requires in the host class: $this->translator, $this->translatorDomain, $this->emailKey, $this->subject, $this->link (absolute link from the parent), $this->emailManager, $this->frontFormLimiter, $this->languageContext, and from ModalTrait: createFormContent(), createSuccessContent(), updateModalContent().

Table of Contents

Methods

onSuccess()  : void
createComponentForm()  : Form

Methods

onSuccess()

public onSuccess(Form $form, ArrayHash $values) : void
Parameters
$form : Form
$values : ArrayHash
On this page

Search results