Class TemplateFilters (namespace Nette\Templates)


Standard template compile-time filters shipped with Nette Framework.


Author: David Grudl
Copyright: Copyright (c) 2004, 2009 David Grudl
Located: in /Templates/Filters/TemplateFilters.php (line 29)
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 128


Method Details

line 35

__construct

public TemplateFilters __construct ()

Static class - cannot be instantiated.

Output
TemplateFilters  

line 52

removePhp

public static string removePhp (string $s)

Filters out PHP code.

Input
string $s
Output
string  

line 137

texyElements

public static string texyElements (string $s)

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

Input
string $s
Output
string