Download core/Exception/Exception.php from Leon4gr45/matomo: direct link, hf CLI and curl.
- Browser
- Download file 636 Bytes
-
https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/core/Exception/Exception.php
- Command line
-
hf download hf://spaces/Leon4gr45/matomo/core/Exception/Exception.php
-
curl -L -o Exception.php https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/core/Exception/Exception.php
636 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\Exception; | |
| use Exception as PhpException; | |
| /** | |
| * An exception whose message has HTML content. When these exceptions are caught | |
| * the message will not be sanitized before being displayed to the user. | |
| */ | |
| class Exception extends PhpException | |
| { | |
| private $isHtmlMessage = false; | |
| public function setIsHtmlMessage() | |
| { | |
| $this->isHtmlMessage = true; | |
| } | |
| public function isHtmlMessage() | |
| { | |
| return $this->isHtmlMessage; | |
| } | |
| } | |