class Filters extends Twig_Extension

This class is a Twig extension custom filter that implements 'jscode' to replace the deprecated raw filter

Methods

string
getName()

Returns the extension class name

array
getFilters()

Registers the new filters

void
jscodeFilter(string $string)

Returns the string as is without any modification

Details

at line 44
string getName()

Returns the extension class name

Return Value

string The extension class name

at line 55
array getFilters()

Registers the new filters

Return Value

array List a new available filters

at line 69
void jscodeFilter(string $string)

Returns the string as is without any modification

Parameters

string $string The string to be filtered

Return Value

void