You are here

property Smarty::$security_settings in Quiz 6.6

Same name and namespace in other branches
  1. 6.5 includes/moodle/lib/smarty/Smarty.class.php \Smarty::security_settings

These are the security settings for Smarty. They are used only when {@link $security} is enabled.

Type: array

File

includes/moodle/lib/smarty/Smarty.class.php, line 228

Class

Smarty
@package Smarty

Code

var $security_settings = array(
  'PHP_HANDLING' => false,
  'IF_FUNCS' => array(
    'array',
    'list',
    'isset',
    'empty',
    'count',
    'sizeof',
    'in_array',
    'is_array',
    'true',
    'false',
    'null',
  ),
  'INCLUDE_ANY' => false,
  'PHP_TAGS' => false,
  'MODIFIER_FUNCS' => array(
    'count',
  ),
  'ALLOW_CONSTANTS' => false,
);