Download plugins/BotTracking/Widgets/NoRecentRequestsRealtime.php from Leon4gr45/matomo: direct link, hf CLI and curl.
- Browser
- Download file 787 Bytes
-
https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/BotTracking/Widgets/NoRecentRequestsRealtime.php
- Command line
-
hf download hf://spaces/Leon4gr45/matomo/plugins/BotTracking/Widgets/NoRecentRequestsRealtime.php
-
curl -L -o NoRecentRequestsRealtime.php https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/BotTracking/Widgets/NoRecentRequestsRealtime.php
787 Bytes
| /** | |
| * Matomo - free/libre analytics platform | |
| * | |
| * @link https://matomo.org | |
| * @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later | |
| */ | |
| declare(strict_types=1); | |
| namespace Piwik\Plugins\BotTracking\Widgets; | |
| use Piwik\Widget\Widget; | |
| use Piwik\Widget\WidgetConfig; | |
| /** | |
| * Places the "no recent AI bot requests" message on the Real-time page too, so it matches the | |
| * Overview when nothing has been tracked recently. A distinct action gives it its own widget id. | |
| */ | |
| class NoRecentRequestsRealtime extends Widget | |
| { | |
| public static function configure(WidgetConfig $config) | |
| { | |
| NoRecentRequests::configureMessageWidget( | |
| $config, | |
| 'BotTracking_AIChatbotsRealtime', | |
| 'noRecentRequestsMessageRealtime' | |
| ); | |
| } | |
| } | |