Download plugins/CustomVariables/Columns/CustomVariableName.php from Leon4gr45/matomo: direct link, hf CLI and curl.
- Browser
- Download file 680 Bytes
-
https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/CustomVariables/Columns/CustomVariableName.php
- Command line
-
hf download hf://spaces/Leon4gr45/matomo/plugins/CustomVariables/Columns/CustomVariableName.php
-
curl -L -o CustomVariableName.php https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/CustomVariables/Columns/CustomVariableName.php
680 Bytes
| /** | |
| * Matomo - free/libre analytics platform | |
| * | |
| * @link https://matomo.org | |
| * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later | |
| * | |
| */ | |
| namespace Piwik\Plugins\CustomVariables\Columns; | |
| use Piwik\Columns\DimensionSegmentFactory; | |
| use Piwik\Piwik; | |
| use Piwik\Segment\SegmentsList; | |
| class CustomVariableName extends Base | |
| { | |
| public function configureSegments(SegmentsList $segmentsList, DimensionSegmentFactory $dimensionSegmentFactory) | |
| { | |
| $this->configureSegmentsFor('Name', $segmentsList, $dimensionSegmentFactory); | |
| } | |
| public function getName() | |
| { | |
| return Piwik::translate('CustomVariables_ColumnCustomVariableName'); | |
| } | |
| } | |