Download plugins/CustomDimensions/Archiver.php from Leon4gr45/matomo: direct link, hf CLI and curl.
- Browser
- Download file 547 Bytes
-
https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/CustomDimensions/Archiver.php
- Command line
-
hf download hf://spaces/Leon4gr45/matomo/plugins/CustomDimensions/Archiver.php
-
curl -L -o Archiver.php https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/CustomDimensions/Archiver.php
547 Bytes
| /** | |
| * Matomo - free/libre analytics platform | |
| * | |
| * @link https://matomo.org | |
| * @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later | |
| */ | |
| namespace Piwik\Plugins\CustomDimensions; | |
| /** | |
| * Archives reports for each active Custom Dimension of a website. | |
| */ | |
| class Archiver extends \Piwik\Plugin\Archiver | |
| { | |
| public const LABEL_CUSTOM_VALUE_NOT_DEFINED = "Value not defined"; | |
| public static function buildRecordNameForCustomDimensionId($id): string | |
| { | |
| return 'CustomDimensions_Dimension' . (int) $id; | |
| } | |
| } | |