Download plugins/API/Renderer/Tsv.php from Leon4gr45/matomo: direct link, hf CLI and curl.
- Browser
- Download file 438 Bytes
-
https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/API/Renderer/Tsv.php
- Command line
-
hf download hf://spaces/Leon4gr45/matomo/plugins/API/Renderer/Tsv.php
-
curl -L -o Tsv.php https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/API/Renderer/Tsv.php
438 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\API\Renderer; | |
| use Piwik\Common; | |
| class Tsv extends Csv | |
| { | |
| public function renderSuccess($message) | |
| { | |
| Common::sendHeader("Content-Disposition: attachment; filename=piwik-report-export.csv"); | |
| return "message\t" . $message; | |
| } | |
| } | |