CoolCMS API

SignalTrait

Requires in the host class: - `$this->httpRequest` (`IRequest`) - `$this->sessionKey` (string) - `$this->expiration` (`?DateTimeInterface`) - `$this->declineFallbackUrl` (string) - `$this->translator` - `$this->translatorDomain` - `hasConsent(): bool` - `getSection(): SessionSection`

Table of Contents

Methods

handleConsent()  : void
handleDecline()  : void
resolveBackUrl()  : string
isSameHostUrl()  : bool

Methods

handleDecline()

public handleDecline([string $backUrl = '' ]) : void
Parameters
$backUrl : string = ''

resolveBackUrl()

protected resolveBackUrl() : string
Return values
string

isSameHostUrl()

private isSameHostUrl(string $url) : bool
Parameters
$url : string
Return values
bool
On this page

Search results