48 new Twig_SimpleFilter(
'raw',
'twig_raw_filter', array(
'is_safe' => array(
'all'))),
81 if (!is_string($this->defaultStrategy) && is_callable($this->defaultStrategy)) {
82 return call_user_func($this->defaultStrategy,
$filename);
setDefaultStrategy($defaultStrategy)
Sets the default strategy to use when not defined by the user.
getDefaultStrategy($filename)
Gets the default strategy to use when not defined by the user.
getName()
Returns the name of the extension.
Marks a section of a template to be escaped or not.
getFilters()
Returns a list of filters to add to the existing list.
getTokenParsers()
Returns the token parser instances to add to the existing list.
__construct($defaultStrategy= 'html')
getNodeVisitors()
Returns the node visitor instances to add to the existing list.
Twig_NodeVisitor_Escaper implements output escaping.
Represents a template filter.
twig_raw_filter($string)
Marks a variable as being safe.