-
Notifications
You must be signed in to change notification settings - Fork 193
/
twig_methods_data.txt
288 lines (288 loc) · 12.3 KB
/
twig_methods_data.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
__(id, parameters = [], domain = null, locale = null) | function | Bolt
abbr_class | filter | Twig
abbr_method | filter | Twig
abs | filter | Twig
absolute_link(link) | function | Bolt
absolute_url(path) | function | Bolt
admin_menu_array() | function | Bolt
allow_twig(unknown?) | filter | Bolt
app = object(Symfony\Bridge\Twig\AppVariable) | global | Bolt
apply | tag | Twig
array | test | Squirrelphp
as_array | filter | Jasny
asset_version(path, packageName = null) | function | Twig
asset(path, packageName = null) | function | Twig
attribute | function | Twig
autoescape | tag | Twig
backtrace(options = 2, limit = 25) | function | Bolt
batch(size, fill = null, preserveKeys = true) | filter | Twig
block | function | Twig
block | tag | Twig
bool | test | Squirrelphp
boolean | test | Squirrelphp
boolval | filter | Squirrelphp
break | tag | Squirrelphp
cache | tag | Twig
callable | test | Squirrelphp
canonical(route = null, params = []) | function | Bolt
capitalize | filter | Twig
column(name, index = null) | filter | Twig
config = object(Bolt\Configuration\Config) | global | Bolt
constant | function | Twig
constant | test | Twig
constant(constant, object = null) | function | Twig
continue | tag | Squirrelphp
controller(controller, attributes = [], query = []) | function |
convert_encoding(to, from) | filter | Twig
country_name(locale = null) | filter | Twig
country_timezones | function | Twig
country_timezones(country) | function | Twig
countwidgets(target) | function | Bolt
csrf_token(tokenId) | function | Twig
currency_name(locale = null) | filter | Twig
currency_symbol(locale = null) | filter | Twig
current | filter | Twig
cycle | function | Twig
cycle(values, position) | function | Twig
data_uri(mime = null, parameters = []) | filter | Twig
date | function | Twig
date_modify(modifier) | filter | Twig
date(date = null, timezone = null) | function | Twig
date(format = null, timezone = null) | filter | Bolt
default(default = "") | filter | Twig
defaultLocale = "en" | global | Bolt
defined | test | Twig
deprecated | tag | Twig
divisible by | test | Twig
dns_prefetch(uri, attributes = []) | function |
do | tag | Twig
dump | function | Twig
dump() | function | Bolt
e(strategy = "html", charset = null, autoescape = false) | filter | Twig
edit_link | filter | Bolt
embed | tag | Twig
empty | test | Twig
encore_entry_css_files(entryName, entrypointName = "_default") | function | Twig
encore_entry_js_files(entryName, entrypointName = "_default") | function | Twig
encore_entry_link_tags(entryName, packageName = null, entrypointName = "_default", attributes = []) | function | Twig
encore_entry_script_tags(entryName, packageName = null, entrypointName = "_default", attributes = []) | function | Twig
escape(strategy = "html", charset = null, autoescape = false) | filter | Twig
even | test |
excerpt(content, length = 280, includeTitle = false, focus = null, wrap = false) | function | Bolt
excerpt(length = 280, includeTitle = false, focus = null, wrap = false) | filter | Bolt
extends | tag | Twig
extension | test |
extension_exists(name) | function | Bolt
extensions() | function | Bolt
false | test | Squirrelphp
feature | filter | Twig
field_factory(name, definition = null) | function | Forms
file_excerpt(line, srcContext = 3) | filter |
file_link(line) | filter |
file_relative | filter |
filter(arrow) | filter | Twig
find_translations(entity, locale = null) | function | Bolt
first | filter | Twig
first_related_content(content, name = null, publishedOnly = true) | function | Bolt
flag(localeCode) | function | Bolt
float | test | Squirrelphp
floatval | filter | Squirrelphp
flush | tag | Twig
for | tag | Twig
foreach | tag | Squirrelphp
form_end(unknown?) | function | Forms
form_errors(unknown?) | function | Forms
form_help(unknown?) | function | Forms
form_label(unknown?) | function | Forms
form_parent(formView) | function | Forms
form_rest(unknown?) | function | Forms
form_row(unknown?) | function | Forms
form_start(unknown?) | function | Forms
form_widget(unknown?) | function | Forms
form(unknown?) | function | Forms
format_*_number(number, attrs = [], type = "default", locale = null) | filter | Twig
format_args | filter | Twig
format_args_as_text | filter | Twig
format_bytes(precision = 2) | filter | Twig
format_currency(currency, attrs = [], locale = null) | filter | Twig
format_date(dateFormat = "medium", pattern = "", timezone = null, calendar = "gregorian", locale = null) | filter | Twig
format_datetime(dateFormat = "medium", timeFormat = "medium", pattern = "", timezone = null, calendar = "gregorian", locale = null) | filter | Twig
format_file_from_text | filter | Twig
format_file(line, text = null) | filter | Twig
format_number(attrs = [], style = "decimal", type = "default", locale = null) | filter | Twig
format_time(timeFormat = "medium", pattern = "", timezone = null, calendar = "gregorian", locale = null) | filter | Twig
format(args) | filter | Twig
from | tag | Twig
getuser(username = null, id = null, displayname = null, email = null) | function | Bolt
has_path(path) | filter | Bolt
haswidgets(target) | function | Bolt
html_attr | filter | Jasny
html_classes | function | Twig
html_classes(args) | function | Twig
htmllang() | function | Bolt
humanize | filter | Twig
icon(record = null, icon = "question-circle") | function | Bolt
if | tag | Twig
image(onlyValues = false) | filter | Bolt
impersonation_exit_path(exitTo = null) | function | Twig
impersonation_exit_url(exitTo = null) | function | Twig
import | tag | Twig
include | function | Twig
include | tag | Twig
include(template, variables = [], withContext = true, ignoreMissing = false, sandboxed = false) | function | Twig
int | test | Squirrelphp
integer | test | Squirrelphp
intval | filter | Squirrelphp
is_granted(role, object = null, field = null) | function | Twig
iterable | test |
join(glue = "", and = null) | filter | Twig
json | test |
json_decode(assoc = false, depth = 512, options = 0) | filter | Bolt
json_encode(options, depth) | filter | Twig
json_records(includeDefinition = true, options = 0, locale = "") | filter | Bolt
keys | filter | Twig
knp_menu_as_string(separator = " > ") | filter | KNP Menu
knp_menu_current | test | KNP Menu
knp_menu_get_breadcrumbs_array(menu, subItem = null) | function | KNP Menu
knp_menu_get_current_item(menu) | function | KNP Menu
knp_menu_get(menu, path = [], options = []) | function | KNP Menu
knp_menu_render(menu, options = [], renderer = null) | function | KNP Menu
label | filter | Bolt
language_name(locale = null) | filter | Twig
last | filter | Twig
length | filter | Twig
less(replace = "...", break = "<!-- pagebreak -->") | filter | Jasny
line(line = 1) | filter | Jasny
link(canonical = false, locale = null) | filter | Bolt
link(uri, rel, attributes = []) | function | Twig
linkify(protocols = ["http","mail"], attributes = [], mode = "normal") | filter | Jasny
list_templates(field) | function | Bolt
listwidgets(target) | function | Bolt
localdate(format = null, locale = null, timezone = null) | filter | Bolt
locale_name(locale = null) | filter | Bolt
locale(localeCode) | function | Bolt
locales(localeCodes = null, all = false) | function | Bolt
logout_path(key = null) | function | Twig
logout_url(key = null) | function | Twig
lower | filter | Twig
macro | tag | Twig
map(arrow) | filter | Twig
markdown | filter | Bolt
markdown(content) | function | Bolt
max | function | Twig
max(args) | function | Twig
media | filter | Bolt
media(unknown?) | function | Bolt
menu_array(name = null) | function | Bolt
menu(name = null, template = "helpers\/_menu.html.twig", class = "", withsubmenus = true) | function | Bolt
merge(arr2) | filter | Twig
min | function | Twig
min(args) | function | Twig
next_record(content, byColumn = "id", sameContentType = true) | function |
next(byColumn = "id", sameContentType = true) | filter | Bolt
nl2br(is_xhtml) | filter | Twig
none | test |
normalize_records(locale = "") | filter | Bolt
null | test |
number_format(decimal = null, decimalPoint = null, thousandSep = null) | filter | Twig
object | test | Squirrelphp
odd | test |
order(on = "-publishedAt", onSecondary = null, locale = null) | filter | Twig
pager(records = null, template = "@bolt\/helpers\/_pager_basic.html.twig", class = "pagination", surround = 3) | function | Bolt
paginate | function | Bolt
paragraph | filter | Jasny
parent | function | Twig
path(name, parameters = [], relative = false) | function | Bolt
placeholders(replacements = []) | filter | Bolt
plaintext | filter | Bolt
popup(image, width = 320, height = 240) | function | Bolt
popup(width = 320, height = 240) | filter | Bolt
preconnect(uri, attributes = []) | function |
prefetch(uri, attributes = []) | function |
preg_filter(pattern, replacement = "", limit = -1) | filter | Jasny
preg_get_all(pattern, group = 0) | filter | Jasny
preg_get(pattern, group = 0) | filter | Jasny
preg_grep(pattern, flags = "") | filter | Jasny
preg_match(pattern) | filter | Jasny
preg_quote(delimiter = "\/") | filter | Jasny
preg_replace(pattern, replacement = "", limit = -1) | filter | Jasny
preg_split(pattern) | filter | Jasny
preload(uri, attributes = []) | function |
prerender(uri, attributes = []) | function |
previous_record(content, byColumn = "id", sameContentType = true) | function |
previous(byColumn = "id", sameContentType = true) | filter | Bolt
product | filter | Jasny
random | function | Twig
random(values = null, max = null) | function |
range | function | Twig
range(low, high, step) | function |
raw | filter |
record | filter |
redirect(path) | function | Bolt
reduce(arrow, initial = null) | filter |
related_by_type(bidirectional = true, limit = null, publishedOnly = true) | filter | Bolt
related_content_by_type(content, bidirectional = true, limit = null, publishedOnly = true) | function | Bolt
related_content(content, name = null, bidirectional = true, limit = null, publishedOnly = true) | function | Bolt
related_first(name = null, publishedOnly = true) | filter | Bolt
related(name = null, bidirectional = true, limit = null, publishedOnly = true) | filter | Bolt
relative_path(path) | function | Bolt
render(uri, options = []) | function |
replace(from) | filter | Twig
reverse(preserveKeys = false) | filter | Twig
rootform | test |
round(precision = 0, method = "common") | filter | Twig
safestring(strict = false, extrachars = "") | filter | Bolt
same_as | test |
sandbox | tag | Twig
sanitise | filter | Bolt
scalar | test | Squirrelphp
select_options(field) | function | Bolt
selected(returnsingle = false, returnarray = false) | filter | Bolt
selectedchoice | test | Forms |
serialize(format = "json", context = []) | filter | Twig
set | tag | Twig
setcontent | tag | Bolt
showimage(image, width = null, height = null) | function | Bolt
showimage(width = null, height = null) | filter | Bolt
shuffle | filter | Twig
shy | filter | Bolt
slice(start, length = null, preserveKeys = false) | filter | Twig
slug | filter | Bolt
sort(arrow = null) | filter | Twig
source | function | Twig
source(name, ignoreMissing = false) | function |
spaceless | filter | Twig
split(delimiter, limit = null) | filter | Twig
string | test |
striptags(allowable_tags) | filter | Bolt
strtotime(now) | filter | Squirrelphp
strval | filter | Squirrelphp
sum | filter | Jasny
svg | filter | Bolt
t(message, parameters = [], domain = null) | function |
taxonomies | filter | Bolt
template_from_string | function | Twig
template_from_string(template, name = null) | function |
thumbnail(image, width = null, height = null, location = null, path = null, fit = null) | function | Bolt
thumbnail(width = null, height = null, location = null, path = null, fit = null) | filter | Bolt
timezone_name(locale = null) | filter | Twig
title_case | filter | Bolt
title(locale = "", length = 120) | filter | Bolt
trans(arguments = [], domain = null, locale = null, count = null) | filter | Bolt
translate(locale) | filter | Bolt
trim(characterMask = null, side = "both") | filter | Bolt
true | test | Squirrelphp
truncate(length, replace = "...") | filter | Jasny
ucwords(delimiters = "") | filter | Bolt
upper | filter | Twig
url_decode | filter | Bolt
url_encode | filter | Bolt
url(name, parameters = [], schemeRelative = false) | function | Bolt
use | tag | Twig
values | filter | Jasny
verbatim | tag | Twig
widget(name, params = []) | function | Bolt
widgets(target, params = []) | function | Bolt
with | tag | Twig
yaml_dump(inline = 0, dumpObjects = 0) | filter | Twig
yaml_encode(inline = 0, dumpObjects = 0) | filter | Twig