nattreid / cookie-policy
Cookie policy for Nette Framework
2.2.19
2023-04-14 09:21 UTC
Requires
- php: >= 7.1
- nattreid/latte: ~1.1
- nette/application: ~2.4
Requires (Dev)
- nattreid/form: ~1.0
- nattreid/web-manager: ~1.0
- nette/tester: ~1.7
- tracy/tracy: ~2.4
- dev-master / 2.x-dev
- 2.2.19
- 2.2.18
- 2.2.17
- 2.2.16
- 2.2.15
- 2.2.14
- 2.2.13
- 2.2.12
- 2.2.11
- 2.2.10
- 2.2.9
- 2.2.8
- 2.2.7
- 2.2.6
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.1
- 2.0.0
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4.2
- 1.0.4.1
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-dev-2.x
This package is auto-updated.
Last update: 2024-08-14 12:07:28 UTC
README
Nastavení v config.neon
extensions: cookiePolicy: NAtrreid\CookiePolicy\DI\CookiePolicyExtension cookiePolicy: enable: true link: '/adresaStranky' analytics: true functional: true commercial: true
Použití
/** @var NAttreid\CookiePolicy\ICookiePolicyFactory @inject */ public $cookiePolicyFactory; protected function createComponentCookiePolicy() { $control = $this->cookiePolicyFactory->create(); // pro zmenu jazyka $control->translator->setLang('cs'); return $control; }