| Server IP : 185.11.201.71 / Your IP : 192.168.7.18 Web Server : Apache/2.4.29 (Ubuntu) System : Linux tech-virtual-machine 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 User : tech ( 1000) PHP Version : 7.4.28 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/enaireaceleradora/wp-content/plugins/cookiebot/src/lib/ |
Upload File : |
<?php
namespace cybot\cookiebot\lib;
use Exception;
use Generator;
/**
* Interface Settings_Service_Interface
*
* @package cybot\cookiebot\lib
*/
interface Settings_Service_Interface {
/**
* Settings_Service constructor.
*
* @param $container Dependency_Container
*
* @since 1.3.0
*/
public function __construct( $container );
/**
* Returns true if the addon is enabled in the backend
*
* @param $addon string option name
*
* @return mixed
*
* @since 1.3.0
*/
public function is_addon_enabled( $addon );
/**
* Returns all cookie type for given addon
*
* @param $addon string option name
* @param $default array default cookie types
*
* @return array
*
* @since 1.3.0
*/
public function get_cookie_types( $addon, $default = array() );
/**
* Returns regex for given addon
*
* @param $addon string option name
* @param $default string default regex
*
* @return string
*
* @since 2.4.5
*/
public function get_addon_regex( $addon, $default = '' );
/**
* Returns addons one by one through a generator
*
* @return Generator
* @throws Exception
*
* @since 1.3.0
*/
public function get_addons();
/**
* Returns active addons
*
* @return array
* @throws Exception
*
* @since 1.3.0
*/
public function get_active_addons();
/**
* returns the placeholder if it does exist
*
* @param $option_key
* @param $default_placeholder
* @param $cookies
* @param string $src
*
* @return mixed
*/
public function get_placeholder( $option_key, $default_placeholder, $cookies, $src = '' );
/**
* The cookiebot plugin is deactivated
* so run this function to cleanup the addons.
*
* @since 2.2.0
*/
public function cookiebot_deactivated();
/**
* The cookiebot plugin is activated and the addon settings is activated
*
* @since 3.6.3
*/
public function cookiebot_activated();
}