|
Server : Apache System : Linux s1230 5.15.0-139-generic #149~20.04.1 SMP Tue Jul 14 11:21:49 UTC 2026 x86_64 User : p141464 ( 418825) PHP Version : 7.4.33.12 Disable Function : NONE Directory : /html/relaunch-kmu/wp-content/plugins/real-cookie-banner/inc/overrides/interfce/ |
Upload File : |
<?php
namespace DevOwl\RealCookieBanner\overrides\interfce;
// @codeCoverageIgnoreStart
\defined('ABSPATH') or die('No script kiddies please!');
// Avoid direct file request
// @codeCoverageIgnoreEnd
/** @internal */
interface IOverrideStats
{
/**
* Get the main stats (e. g. use in bar chart).
*
* @param string $from
* @param string $to
* @param string $context
* @return array|WP_Error
*/
public function fetchMainStats($from, $to, $context = null);
/**
* Get the "Buttons clicked" stats (e. g. use in pie chart).
*
* @param string $from
* @param string $to
* @param string $context
* @return array|WP_Error
*/
public function fetchButtonsClickedStats($from, $to, $context = null);
/**
* Get the "Do not track" stats (e. g. use in pie chart) and other custom bypass.
* The result `none` is similar to "banner got shown to user".
*
* @param string $from
* @param string $to
* @param string $context
* @return array|WP_Error
*/
public function fetchCustomBypassStats($from, $to, $context = null);
}