CookieModel

Model for cookie management cookie. Uses configuration-segment cookie-managment.

implements: hash
bundle: standard portal bundle
since 2.3.29
Model for cookie management cookie. Uses configuration-segment cookie-managment.

All accessible elements are defined in the global namespace 'custom.portal.cookieManagement' and therefore prefixed with it.

Defined hash keys

custom.portal.cookieManagement.article ↦ ArticleModel
since 2.3.29
Returns the cookie management info article as configured in SiteConfiguration

custom.portal.cookieManagement.articleResourceKey ↦ String
since 2.3.29
Returns the value for resource-key of info article (default: 'portal:cookie-disclaimer')

custom.portal.cookieManagement.cookieName ↦ String
since 2.3.26
Returns the management cookie name as configured in SiteConfiguration

Methods

custom.portal.cookieManagement.has(String:value) ↦ Boolean
since 2.3.26
Test if given parameter value is present in ',' separated values of management cookie