Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ function.

{# Combining view helpers #}
{% set url = ( url('my/custom/route') ) %}

{# Usage of layout helper to dynamically load templates #}
{# defined in view_manager.template_map in the config. #}
{% extends layout().getTemplate() %}
```

# Examples
Expand All @@ -98,4 +102,4 @@ This let's ZfcTwig register its own renderer with view helpers that require it a
view helpers that do not require one.

As a caveat, you *must* register view helpers that require a renderer with ZfcTwig. An example can be seen in
`config/module.config.php` where the HelperConfig for the default navigation helpers is registered with ZfcTwig.
`config/module.config.php` where the HelperConfig for the default navigation helpers is registered with ZfcTwig.