function passCookieConfirm(&$parent, &$params, $selection = array(), $assignment = 'all') { require_once JPATH_PLUGINS . '/system/cookieconfirm/core.php'; $pass = plgSystemCookieconfirmCore::getInstance()->isCookiesAllowed(); return $parent->pass($pass, $assignment); }
function passCookieConfirm() { require_once JPATH_PLUGINS . '/system/cookieconfirm/core.php'; $pass = plgSystemCookieconfirmCore::getInstance()->isCookiesAllowed(); return $this->pass($pass); }