library/smarty/libs/sysplugins/smartyexception.php
author Markus Bröker<broeker.markus@googlemail.com>
Sat, 19 Dec 2015 02:32:12 +0100
changeset 31 3a5ee3ba6006
parent 0 4869aea77e21
permissions -rw-r--r--
PHPDocBlöcke überarbeitet

<?php

/**
 * Smarty exception class
 *
 * @package Smarty
 */
class SmartyException extends Exception {
    public static $escape = false;

    public function __toString() {
        return ' --> Smarty: ' . (self::$escape ? htmlentities($this->message) : $this->message) . ' <-- ';
    }
}