Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
/**
4
 * Smarty exception class
5
 *
6
 * @package Smarty
7
 */
8
class SmartyException extends Exception
9
{
10
    public static $escape = false;
11
 
12
    /**
13
     * @return string
14
     */
15
    public function __toString()
16
    {
17
        return ' --> Smarty: ' . (self::$escape ? htmlentities($this->message) : $this->message) . ' <-- ';
18
    }
19
}