Subversion Repositories ALCASAR

Rev

Details | Last modification | View Log

Rev Author Line No. Line
2809 rexy 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
}