Twig metrics
14
Globals
50
Extensions
15
Tests
92
Filters
65
Functions
Twig Templates
Template | Parameters |
---|---|
AppFrontendBundle:Article:opis.html.twig |
row: App\GeneralBundle\Entity\Artykul
others: array
leczenie_zywieniowe: integer
0
previousArticle: App\GeneralBundle\Entity\Artykul
nextArticle: App\GeneralBundle\Entity\Artykul
|
Twig Globals
Name | Value |
---|---|
assetic | Array ( [debug] => 1 [vars] => Object instance of Assetic\Extension\Twig\ValueContainer [use_controller] => 1 ) |
wrap_fields_with_addons | |
session | Array ( [_sf2_attributes] => Array ( [a] => wspolczesnadietetyka.pl [f] => wspolczesnadietetyka.pl ) [_sf2_flashes] => Array ( ) [_sf2_meta] => Array ( [u] => 1743729660 [c] => 1743729660 [l] => 0 ) ) |
app | Object instance of Symfony\Bridge\Twig\AppVariable |
seo_title | Współczesna Dietetyka |
seo_keywords | |
seo_description | |
magazyn_title | Współczesna Dietetyka |
templateCMS | dietetyka |
image_host | https://www.wspolczesnadietetyka.pl |
sonata_block | Object instance of Sonata\BlockBundle\Twig\GlobalVariables |
sonata_admin | Object instance of Sonata\AdminBundle\Twig\GlobalVariables |
sonata_user | Object instance of Sonata\UserBundle\Twig\GlobalVariables |
sonata_media | Object instance of Sonata\MediaBundle\Twig\GlobalVariables |
Twig Extensions
Extension | Class |
---|---|
core | Twig\Extension\CoreExtension |
escaper | Twig\Extension\EscaperExtension |
optimizer | Twig\Extension\OptimizerExtension |
intl | Twig_Extensions_Extension_Intl |
array | Twig_Extensions_Extension_Array |
logout_url | Symfony\Bridge\Twig\Extension\LogoutUrlExtension |
security | Symfony\Bridge\Twig\Extension\SecurityExtension |
native_profiler | Symfony\Bridge\Twig\Extension\ProfilerExtension |
translator | Symfony\Bridge\Twig\Extension\TranslationExtension |
asset | Symfony\Bridge\Twig\Extension\AssetExtension |
actions | Symfony\Bundle\TwigBundle\Extension\ActionsExtension |
code | Symfony\Bridge\Twig\Extension\CodeExtension |
routing | Symfony\Bridge\Twig\Extension\RoutingExtension |
yaml | Symfony\Bridge\Twig\Extension\YamlExtension |
stopwatch | Symfony\Bridge\Twig\Extension\StopwatchExtension |
expression | Symfony\Bridge\Twig\Extension\ExpressionExtension |
http_kernel | Symfony\Bridge\Twig\Extension\HttpKernelExtension |
request | Symfony\Bridge\Twig\Extension\HttpFoundationExtension |
debug | Twig\Extension\DebugExtension |
form | Symfony\Bridge\Twig\Extension\FormExtension |
assetic | Symfony\Bundle\AsseticBundle\Twig\AsseticExtension |
doctrine_extension | Doctrine\Bundle\DoctrineBundle\Twig\DoctrineExtension |
sonata_core_flashmessage | Sonata\CoreBundle\Twig\Extension\FlashMessageExtension |
sonata_core_wrapping | Sonata\CoreBundle\Twig\Extension\FormTypeExtension |
Text | Sonata\CoreBundle\Twig\Extension\DeprecatedTextExtension |
sonata_core_status | Sonata\CoreBundle\Twig\Extension\StatusExtension |
Sonata\CoreBundle\Twig\Extension\DeprecatedTemplateExtension | Sonata\CoreBundle\Twig\Extension\DeprecatedTemplateExtension |
sonata_core_template | Sonata\CoreBundle\Twig\Extension\TemplateExtension |
sonata_block | Sonata\BlockBundle\Twig\Extension\BlockExtension |
knp_menu | Knp\Menu\Twig\MenuExtension |
sonata_admin | Sonata\AdminBundle\Twig\Extension\SonataAdminExtension |
Sonata\MediaBundle\Twig\Extension\MediaExtension | Sonata\MediaBundle\Twig\Extension\MediaExtension |
ivory_ckeditor | Ivory\CKEditorBundle\Twig\CKEditorExtension |
genemu.twig.extension.form | Genemu\Bundle\FormBundle\Twig\Extension\FormExtension |
liip_imagine | Liip\ImagineBundle\Templating\ImagineExtension |
knp_pagination | Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension |
app_general_format_extension | App\GeneralBundle\Twig\Extension\FormatExtension |
app_general_html_extension | App\GeneralBundle\Twig\Extension\HtmlExtension |
app_general_file_type_icon_extension | App\GeneralBundle\Twig\Extension\FileTypeIconExtension |
html_decode_twig_extension | App\GeneralBundle\Twig\Extension\HTMLDecodeExtension |
app_general_session_extension | App\GeneralBundle\Twig\Extension\SessionExtension |
sonata_intl_locale | Sonata\IntlBundle\Twig\Extension\LocaleExtension |
sonata_intl_number | Sonata\IntlBundle\Twig\Extension\NumberExtension |
sonata_intl_datetime | Sonata\IntlBundle\Twig\Extension\DateTimeExtension |
jms_serializer | JMS\Serializer\Twig\SerializerExtension |
sortableObjectPosition | Pix\SortableBehaviorBundle\Twig\ObjectPositionExtension |
Cocur\Slugify\Bridge\Twig\SlugifyExtension | Cocur\Slugify\Bridge\Twig\SlugifyExtension |
dc2_includemulti | App\MultitemplateBundle\Twig\Extension\IncludemultiExtension |
pear_numberswords_numbertoword | Pear\NumbersWordsBundle\Twig\Extension\NumberToWordExtension |
profiler | Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension |
Twig Tests available
Test | Call | Extension |
---|---|---|
0 | even | core |
1 | odd | core |
2 | defined | core |
3 | sameas | core |
4 | same as | core |
5 | none | core |
6 | null | core |
7 | divisibleby | core |
8 | divisible by | core |
9 | constant | core |
10 | empty | core |
11 | iterable | core |
0 | selectedchoice | form |
0 | knp_menu_current | knp_menu |
1 | knp_menu_ancestor | knp_menu |
Twig Filters available
Filter | Call | Extension |
---|---|---|
0 | date | core |
1 | date_modify | core |
2 | format | core |
3 | replace | core |
4 | number_format | core |
5 | abs | core |
6 | round | core |
7 | url_encode | core |
8 | json_encode | core |
9 | convert_encoding | core |
10 | title | core |
11 | capitalize | core |
12 | upper | core |
13 | lower | core |
14 | striptags | core |
15 | trim | core |
16 | nl2br | core |
17 | spaceless | core |
18 | join | core |
19 | split | core |
20 | sort | core |
21 | merge | core |
22 | batch | core |
23 | filter | core |
24 | map | core |
25 | reduce | core |
26 | reverse | core |
27 | length | core |
28 | slice | core |
29 | first | core |
30 | last | core |
31 | default | core |
32 | keys | core |
33 | escape | core |
34 | e | core |
35 | upper | core |
36 | lower | core |
0 | raw | escaper |
0 | localizeddate | intl |
1 | localizednumber | intl |
2 | localizedcurrency | intl |
0 | shuffle | array |
0 | trans | translator |
1 | transchoice | translator |
0 | abbr_class | code |
1 | abbr_method | code |
2 | format_args | code |
3 | format_args_as_text | code |
4 | file_excerpt | code |
5 | format_file | code |
6 | format_file_from_text | code |
7 | file_link | code |
0 | yaml_encode | yaml |
1 | yaml_dump | yaml |
0 | humanize | form |
0 | doctrine_minify_query | doctrine_extension |
1 | doctrine_pretty_query | doctrine_extension |
2 | doctrine_replace_query_parameters | doctrine_extension |
0 | truncate | Text |
1 | wordwrap | Text |
0 | sonata_status_class | sonata_core_status |
0 | sonata_slugify | sonata_core_template |
1 | sonata_urlsafeid | sonata_core_template |
0 | knp_menu_as_string | knp_menu |
0 | render_list_element | sonata_admin |
1 | render_view_element | sonata_admin |
2 | render_view_element_compare | sonata_admin |
3 | render_relation_element | sonata_admin |
4 | sonata_urlsafeid | sonata_admin |
5 | sonata_xeditable_type | sonata_admin |
6 | sonata_xeditable_choices | sonata_admin |
0 | imagine_filter | liip_imagine |
format_bytes | $this->env->getExtension('App\GeneralBundle\Twig\Extension\FormatExtension')->formatBytesFilter | app_general_format_extension |
extract_current_controller | $this->env->getExtension('App\GeneralBundle\Twig\Extension\HtmlExtension')->extractCurrentController | app_general_html_extension |
htmldecode | $this->env->getExtension('App\GeneralBundle\Twig\Extension\HTMLDecodeExtension')->htmldecode | html_decode_twig_extension |
0 | country | sonata_intl_locale |
1 | locale | sonata_intl_locale |
2 | language | sonata_intl_locale |
0 | number_format_currency | sonata_intl_number |
1 | number_format_decimal | sonata_intl_number |
2 | number_format_scientific | sonata_intl_number |
3 | number_format_spellout | sonata_intl_number |
4 | number_format_percent | sonata_intl_number |
5 | number_format_duration | sonata_intl_number |
6 | number_format_ordinal | sonata_intl_number |
0 | format_date | sonata_intl_datetime |
1 | format_time | sonata_intl_datetime |
2 | format_datetime | sonata_intl_datetime |
0 | serialize | jms_serializer |
0 | slugify | Cocur\Slugify\Bridge\Twig\SlugifyExtension |
number_to_word | $this->env->getExtension('Pear\NumbersWordsBundle\Twig\Extension\NumberToWordExtension')->numberToWord | pear_numberswords_numbertoword |
to_currency | $this->env->getExtension('Pear\NumbersWordsBundle\Twig\Extension\NumberToWordExtension')->toCurrency | pear_numberswords_numbertoword |
Twig Functions available
Function | Call | Extension |
---|---|---|
0 | max | core |
1 | min | core |
2 | range | core |
3 | constant | core |
4 | cycle | core |
5 | random | core |
6 | date | core |
7 | include | core |
8 | source | core |
0 | logout_url | logout_url |
1 | logout_path | logout_url |
0 | is_granted | security |
0 | asset | asset |
1 | asset_version | asset |
2 | assets_version | asset |
0 | url | routing |
1 | path | routing |
0 | expression | expression |
0 | render | http_kernel |
1 | render_* | http_kernel |
2 | controller | http_kernel |
0 | absolute_url | request |
1 | relative_path | request |
0 | dump | debug |
0 | form_enctype | form |
1 | form_widget | form |
2 | form_errors | form |
3 | form_label | form |
4 | form_row | form |
5 | form_rest | form |
6 | form | form |
7 | form_start | form |
8 | form_end | form |
9 | csrf_token | form |
0 | sonata_flashmessages_get | sonata_core_flashmessage |
1 | sonata_flashmessages_types | sonata_core_flashmessage |
0 | sonata_block_exists | sonata_block |
1 | sonata_block_render | sonata_block |
2 | sonata_block_render_event | sonata_block |
3 | sonata_block_include_javascripts | sonata_block |
4 | sonata_block_include_stylesheets | sonata_block |
0 | knp_menu_get | knp_menu |
1 | knp_menu_render | knp_menu |
2 | knp_menu_get_breadcrumbs_array | knp_menu |
3 | knp_menu_get_current_item | knp_menu |
0 | ckeditor_base_path | ivory_ckeditor |
1 | ckeditor_js_path | ivory_ckeditor |
2 | ckeditor_replace | ivory_ckeditor |
3 | ckeditor_destroy | ivory_ckeditor |
4 | ckeditor_plugin | ivory_ckeditor |
5 | ckeditor_styles_set | ivory_ckeditor |
6 | ckeditor_template | ivory_ckeditor |
form_javascript | $this->env->getExtension('Genemu\Bundle\FormBundle\Twig\Extension\FormExtension')->renderJavascript | genemu.twig.extension.form |
form_stylesheet | genemu.twig.extension.form | |
knp_pagination_render | $this->env->getExtension('Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension')->render | knp_pagination |
knp_pagination_sortable | $this->env->getExtension('Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension')->sortable | knp_pagination |
knp_pagination_filter | $this->env->getExtension('Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension')->filter | knp_pagination |
percentage | $this->env->getExtension('App\GeneralBundle\Twig\Extension\FormatExtension')->getPercentage | app_general_format_extension |
format_icon | $this->env->getExtension('App\GeneralBundle\Twig\Extension\FileTypeIconExtension')->fileTypeIcon | app_general_file_type_icon_extension |
format_icon_html | $this->env->getExtension('App\GeneralBundle\Twig\Extension\FileTypeIconExtension')->fileTypeIconHtml | app_general_file_type_icon_extension |
0 | serialization_context | jms_serializer |
0 | currentObjectPosition | sortableObjectPosition |
1 | lastPosition | sortableObjectPosition |
include_multi | $this->env->getExtension('App\MultitemplateBundle\Twig\Extension\IncludemultiExtension')->include_multi_template | dc2_includemulti |
0 | profiler_dump | profiler |