Lines Matching defs:escape
77 * @var callable escape function to use
79 private $escape = 'htmlspecialchars';
82 * @var array parametes to pass to escape function
100 * escape => a callable function to escape values
101 * escapeArgs => array to pass as extra parameter to escape function
129 if (isset($options['escape'])) {
130 if (!is_callable($options['escape'])) {
132 'Handlebars Constructor "escape" option must be callable'
135 $this->escape = $options['escape'];
332 * Get current escape function
338 return $this->escape;
342 * Set current escape function
344 * @param callable $escape function
348 public function setEscape($escape)
350 if (!is_callable($escape)) {
355 $this->escape = $escape;
359 * Get current escape function
369 * Set current escape function