Hubwiz.com
|
Online Course
|
API Manual
Twig API Manual
Tag(19)
Filter(53)
Function(16)
Test(9)
Operator(33)
Guide(46)
Tag
apply
autoescape
block
deprecated
do
embed
extends
flush
for
from
if
import
include
macro
sandbox
set
use
verbatim
with
Filter
abs
batch
capitalize
column
convert_encoding
country_name
currency_name
currency_symbol
data_uri
date
date_modify
default
escape
filter
first
format
format_currency
format_date
format_datetime
format_number
format_time
html_to_markdown
inky_to_html
inline_css
join
json_encode
keys
language_name
last
length
locale_name
lower
map
markdown_to_html
merge
nl2br
number_format
raw
reduce
replace
reverse
round
slice
sort
spaceless
split
striptags
timezone_name
title
trim
u
upper
url_encode
Function
attribute
block
constant
country_timezones
cycle
date
dump
html_classes
include
max
min
parent
random
range
source
template_from_string
Test
constant
defined
divisibleby
empty
even
iterable
null
odd
sameas
Operator
in
is
+
-
/
%
//
*
**
and
or
not
()
b-and
b-xor
b-or
==
!=
<
>
>=
<=
starts with
ends with
matches
===
..
|
~
.
[]
?:
??
Guide
Coding Standards
Twig for Template Designers
Synopsis
IDEs Integration
Variables
Filters
Functions
Named Arguments
Control Structure
Comments
Including other Templates
Template Inheritance
HTML Escaping
Escaping
Macros
Expressions
Whitespace Control
Global Variables
Setting Variables
Working with Manual Escaping
Working with Automatic Escaping
Literals
Math
Logic
Comparisons
Containment Operator
Test Operator
Other Operators
String Interpolation
Extending Twig
Recipes
Displaying Deprecation Notices
Making a Layout conditional
Making an Include dynamic
Overriding a Template that also extends itself
Customizing the Syntax
Using dynamic Object Properties
Accessing the parent Context in Nested Loops
Defining undefined Functions and Filters on the Fly
Validating the Template Syntax
Refreshing modified Templates when OPcache or APC is enabled
Reusing a stateful Node Visitor
Using a Database to store Templates
Using different Template Sources
Loading a Template from a String
Using Twig and AngularJS in the same Templates