Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 26dd585

Browse files
committed
Update templating.rst
1 parent da21308 commit 26dd585

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

bundles/core/templating.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The CoreBundle registers a Twig extension and a PHP templating helper. Both
1313
work the same way and are documented together. We always list both the Twig
1414
function name and the ``cmf`` helper method names.
1515

16-
Many methods share the same common parameters:
16+
Many methods share the same common parameters:
1717

1818
* **ignoreRole**: Methods having this parameter by default filter the
1919
resultset to only contain published documents, using
@@ -24,9 +24,6 @@ function name and the ``cmf`` helper method names.
2424
* **limit, offset**: Used to slice the result list for paging. Note that
2525
slicing happens before the filtering.
2626

27-
The available methods are the following:
28-
29-
3027
Basic repository operations
3128
...........................
3229

@@ -47,8 +44,8 @@ Walking the PHPCR tree
4744
| cmf_prev | getPrev | $current, | Get the previous sibling document of ``$current`` (a document or a path) |
4845
| | | $depth = null, | in PHPCR order. If ``$anchor`` (also a document or a path) is set, also |
4946
| | | $ignoreRole = false, | walks up the tree to find neighbours of ``$current``. If ``$depth`` is |
50-
| | | $class = null | set, this limits how deep below ``$current`` the tree is walked. |
51-
| | | $anchor = null, | |
47+
| | | $class = null, | set, this limits how deep below ``$current`` the tree is walked. |
48+
| | | $anchor = null | |
5249
+-----------------------+---------------------+----------------------+--------------------------------------------------------------------------+
5350
| cmf_prev_linkable | getPrevLinkable | $current, | Get the previous document that has a route associated. This is a |
5451
| | | $anchor = null, | shortcut for ``getPrev`` with the ``$class`` filter set to |

0 commit comments

Comments
 (0)