add own cookie-check method; rm unnecessary help-text

Cette révision appartient à :
2023-02-01 15:32:28 +01:00
révisé par MaxBuhe01
Parent 55bd7b7fb4
révision 1589f202a9
3 fichiers modifiés avec 17 ajouts et 8 suppressions

Voir le fichier

@ -35,6 +35,22 @@ class ViewConfig extends ViewConfig_parent
return $this->sContainerId;
}
/**
* @param $sCookieID
* @return bool
*/
public function D3blAcceptedCookie($sCookieID)
{
$oSession = Registry::getSession();
$aCookies = $oSession->getVariable("aCookieSel");
if (!is_null($aCookies) && is_array($aCookies) && array_key_exists($sCookieID, $aCookies) && $aCookies[$sCookieID] == "1") {
return true;
}
return false;
}
private $blGA4enabled = null;
public function isGA4enabled()