CoolCMS API

CancelTrait

Confirms the cancellation of a reservation through the one-time token from the e-mail.

A real POST form with CSRF, not a GET action: otherwise the token could be consumed by merely opening the link (crawler, prefetch, referer) without the user knowing.

Table of Contents

Methods

onCancelFormSuccess()  : void
createComponentCancelForm()  : Form
prepareCancelForm()  : void

Methods

onCancelFormSuccess()

public onCancelFormSuccess(Form $form, ArrayHash $values) : void
Parameters
$form : Form
$values : ArrayHash

prepareCancelForm()

private prepareCancelForm() : void
On this page

Search results