Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 991
Zeile 105... Zeile 105...
105
class Smarty extends Smarty_Internal_TemplateBase
105
class Smarty extends Smarty_Internal_TemplateBase
106
{
106
{
107
    /**
107
    /**
108
     * smarty version
108
     * smarty version
109
     */
109
     */
110
    const SMARTY_VERSION = '4.3.0';
110
    const SMARTY_VERSION = '4.3.1';
111
    /**
111
    /**
112
     * define variable scopes
112
     * define variable scopes
113
     */
113
     */
114
    const SCOPE_LOCAL    = 1;
114
    const SCOPE_LOCAL    = 1;
115
    const SCOPE_PARENT   = 2;
115
    const SCOPE_PARENT   = 2;
Zeile 1384... Zeile 1384...
1384
        $isConfig ? $this->_joined_config_dir = join('#', $this->config_dir) :
1384
        $isConfig ? $this->_joined_config_dir = join('#', $this->config_dir) :
1385
            $this->_joined_template_dir = join('#', $this->template_dir);
1385
            $this->_joined_template_dir = join('#', $this->template_dir);
1386
    }
1386
    }
Zeile 1387... Zeile 1387...
1387
 
1387
 
1388
    /**
-
 
1389
     * Activates PHP7 compatibility mode:
1388
    /**
1390
     * - converts E_WARNINGS for "undefined array key" and "trying to read property of null" errors to E_NOTICE
1389
     * Mutes errors for "undefined index", "undefined array key" and "trying to read property of null".
1391
     *
1390
     *
1392
     * @void
1391
     * @void
1393
     */
1392
     */
1394
    public function muteUndefinedOrNullWarnings(): void {
1393
    public function muteUndefinedOrNullWarnings(): void {
1395
        $this->isMutingUndefinedOrNullWarnings = true;
1394
        $this->isMutingUndefinedOrNullWarnings = true;
Zeile 1396... Zeile 1395...
1396
    }
1395
    }
1397
 
1396
 
1398
    /**
1397
    /**
1399
     * Indicates if PHP7 compatibility mode is set.
1398
     * Indicates if Smarty will mute errors for "undefined index", "undefined array key" and "trying to read property of null".
1400
     * @bool
1399
     * @bool
1401
     */
1400
     */
1402
    public function isMutingUndefinedOrNullWarnings(): bool {
1401
    public function isMutingUndefinedOrNullWarnings(): bool {