CookiePolicy
in package
A cookie policy is a server-side rendered, pure-HTML text with a table of cookie definitions and teachings.
Table of Contents
Properties
- $cookieConsentManagement : CookieConsentManagement
- See `CookieConsentManagement`.
Methods
- __construct() : mixed
- C'tor.
- getCookieConsentManagement() : mixed
- Getter.
- getSettings() : mixed
- Get the cookie policy settings.
- renderCookiesOriginSectionHtml() : mixed
- Who can set cookies on websites?
- renderCookieTechnologySectionHtml() : mixed
- What are cookies and cookie-like technologies? Definition and general function of cookies (and all conceivable cookie-like information)
- renderDiffToPrivacyPolicySectionHtml() : mixed
- What is the difference between the policies? ➝ Differentiation from the privacy policy.
- renderHtml() : mixed
- Render the cookie policy as HTML output.
- renderLegalBasisSectionHtml() : mixed
- Legal explanation of cookies.
- renderListOfServicesSectionHtml() : mixed
- Which cookies are used on this website?
- renderManageCookiesSectionHtml() : mixed
- Explanation of how to delete cookies in your browser (including 3rd party cookies that RCB cannot delete; no explanation per browser, but only generally necessary, about the browser manual)
- renderRightsOfVisitorSectionHtml() : mixed
- Information about the rights of the website visitor and function for viewing the history of consent, changing consent and revoking consent.
- renderTypesOfCookiesSectionHtml() : mixed
- Types of cookies and their purposes.
- renderWebsiteOperatorSectionHtml() : mixed
- Render the website operator, when at least one contact possibility is given.
- getDurationText() : mixed
- Get a text for a given duration and duration unit.
- getTypeLabel() : mixed
- Get a text for a given type (e.g. `http` -> `HTTP Cookie`).
Properties
$cookieConsentManagement
See `CookieConsentManagement`.
private
CookieConsentManagement
$cookieConsentManagement
Methods
__construct()
C'tor.
public
__construct(CookieConsentManagement $cookieConsentManagement) : mixed
Parameters
- $cookieConsentManagement : CookieConsentManagement
getCookieConsentManagement()
Getter.
public
getCookieConsentManagement() : mixed
Tags
getSettings()
Get the cookie policy settings.
public
getSettings() : mixed
renderCookiesOriginSectionHtml()
Who can set cookies on websites?
public
renderCookiesOriginSectionHtml(array<string|int, mixed> &$toc) : mixed
Parameters
- $toc : array<string|int, mixed>
renderCookieTechnologySectionHtml()
What are cookies and cookie-like technologies? Definition and general function of cookies (and all conceivable cookie-like information)
public
renderCookieTechnologySectionHtml(array<string|int, mixed> &$toc) : mixed
Parameters
- $toc : array<string|int, mixed>
renderDiffToPrivacyPolicySectionHtml()
What is the difference between the policies? ➝ Differentiation from the privacy policy.
public
renderDiffToPrivacyPolicySectionHtml(array<string|int, mixed> &$toc) : mixed
Parameters
- $toc : array<string|int, mixed>
renderHtml()
Render the cookie policy as HTML output.
public
renderHtml([bool $replaceVariables = true ]) : mixed
Parameters
- $replaceVariables : bool = true
renderLegalBasisSectionHtml()
Legal explanation of cookies.
public
renderLegalBasisSectionHtml(array<string|int, mixed> &$toc) : mixed
Parameters
- $toc : array<string|int, mixed>
renderListOfServicesSectionHtml()
Which cookies are used on this website?
public
renderListOfServicesSectionHtml(array<string|int, mixed> &$toc) : mixed
Parameters
- $toc : array<string|int, mixed>
renderManageCookiesSectionHtml()
Explanation of how to delete cookies in your browser (including 3rd party cookies that RCB cannot delete; no explanation per browser, but only generally necessary, about the browser manual)
public
renderManageCookiesSectionHtml(array<string|int, mixed> &$toc) : mixed
Parameters
- $toc : array<string|int, mixed>
renderRightsOfVisitorSectionHtml()
Information about the rights of the website visitor and function for viewing the history of consent, changing consent and revoking consent.
public
renderRightsOfVisitorSectionHtml(array<string|int, mixed> &$toc) : mixed
Parameters
- $toc : array<string|int, mixed>
renderTypesOfCookiesSectionHtml()
Types of cookies and their purposes.
public
renderTypesOfCookiesSectionHtml(array<string|int, mixed> &$toc) : mixed
Parameters
- $toc : array<string|int, mixed>
renderWebsiteOperatorSectionHtml()
Render the website operator, when at least one contact possibility is given.
public
renderWebsiteOperatorSectionHtml(array<string|int, mixed> &$toc) : mixed
Parameters
- $toc : array<string|int, mixed>
getDurationText()
Get a text for a given duration and duration unit.
protected
getDurationText(bool $isSession, int $duration, string $unit) : mixed
Parameters
- $isSession : bool
- $duration : int
- $unit : string
getTypeLabel()
Get a text for a given type (e.g. `http` -> `HTTP Cookie`).
protected
getTypeLabel(string $type, string $fallback) : mixed
Parameters
- $type : string
- $fallback : string