Class TemplateFilters (namespace Nette\Templates)


Standard template compile-time filters shipped with Nette Framework.


Copyright: Copyright (c) 2004, 2010 David Grudl
Located: in /Templates/Filters/TemplateFilters.php (line 21)
Public Method Summary
TemplateFilters
Static class - cannot be instantiated.
static string
netteLinks (string $s)
Filter netteLinks: translates links "nette:...".
static string
relativeLinks (string $s)
Filter relativeLinks: prepends root to relative links.
static string
removePhp (string $s)
Filters out PHP code.
static string
texyElements (string $s)
Process <texy>...</texy> elements.
Variable Summary
static Texy $texy

line 120


Method Details

line 27

__construct

public TemplateFilters __construct ()

Static class - cannot be instantiated.

Output
TemplateFilters  

line 44

removePhp

public static string removePhp (string $s)

Filters out PHP code.

Input
string $s
Output
string  

line 129

texyElements

public static string texyElements (string $s)

Process <texy>...</texy> elements.

Input
string $s
Output
string