Class TemplateFilters (namespace Nette\Templates)
Standard template filters shipped with Nette Framework.
Public Method Summary | |
---|---|
TemplateFilters |
__construct
()
Static class - cannot be instantiated.
|
static string |
autoConfig
(string $s)
Template with configuration (experimental).
|
static void |
curlyBrackets
($s)
|
static void |
fragments
($s)
|
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 mixed | $curlyXlatMask |
|
line 47 |
|
static Texy | $texy |
|
line 181 |
Method Details | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
line 36 __constructpublic TemplateFilters __construct () Static class - cannot be instantiated.
|
||||||||||||||||||
line 100 autoConfigpublic static string autoConfig (string $s) Template with configuration (experimental). <?nette filter="CurlyBracketsFilter::invoke"?>
|
||||||||||||||||||
line 52 curlyBracketspublic static void curlyBrackets ($s)
|
||||||||||||||||||
line 65 fragmentspublic static void fragments ($s)
|
||||||||||||||||||
line 141 netteLinkspublic static string netteLinks (string $s) Filter netteLinks: translates links "nette:...". nette:destination?arg
|
||||||||||||||||||
line 120 relativeLinkspublic static string relativeLinks (string $s) Filter relativeLinks: prepends root to relative links.
|
||||||||||||||||||
line 82 removePhppublic static string removePhp (string $s) Filters out PHP code.
|
||||||||||||||||||
line 190 texyElementspublic static string texyElements (string $s) Process <texy>...</texy> elements.
|