Twig#
- Вступление
- Установка
- Twig для верстальщиков
- Twig для программистов
- Расширения в Twig
- Twig изнутри
- Deprecated Features
- Примеры
- 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, Filters, and Tags 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
- Стандарты кодирования
- Tags
- Filters
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
inline_css
inky_to_html
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
slug
sort
spaceless
split
striptags
timezone_name
title
trim
u
upper
url_encode
- Functions
- Tests