Download plugins/Bandwidth/Controller.php from Leon4gr45/matomo: direct link, hf CLI and curl.
- Browser
- Download file 616 Bytes
-
https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/Bandwidth/Controller.php
- Command line
-
hf download hf://spaces/Leon4gr45/matomo/plugins/Bandwidth/Controller.php
-
curl -L -o Controller.php https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/Bandwidth/Controller.php
616 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\Bandwidth; | |
| use Piwik\Common; | |
| use Piwik\Piwik; | |
| /** | |
| * | |
| */ | |
| class Controller extends \Piwik\Plugin\Controller | |
| { | |
| public function getEvolutionGraph() | |
| { | |
| $columns = Common::getRequestVar('columns'); | |
| $columns = Piwik::getArrayFromApiParameter($columns); | |
| $view = $this->getLastUnitGraphAcrossPlugins($this->pluginName, __FUNCTION__, $columns, [], ''); | |
| return $this->renderView($view); | |
| } | |
| } | |