This repository was archived by the owner on Sep 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -106,8 +106,8 @@ The Factory
106
106
...........
107
107
108
108
Menu factories generate the full ``MenuItem `` hierarchy from the provided
109
- MenuNode . The data generated this way is later used to generate the actual HTML
110
- representation of the menu.
109
+ menu node . The data generated this way is later used to generate the actual
110
+ HTML representation of the menu.
111
111
112
112
The included implementation focuses on generating ``MenuItem `` instances from
113
113
``NodeInterface `` instances, as this is usually the best approach to handle
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ URL Generation
19
19
in CmfMenuBundle 2.0. Prior to 2.0, you had to use the
20
20
``ContentAwareFactory `` class and ``cmf_menu.factory `` service.
21
21
22
- Most menu items will need a URL. By default, KnpMenu allows generating such
23
- route by specifying a URI or a Symfony route name.
22
+ Most menu items will need a URL. By default, KnpMenu allows generating this URL
23
+ by specifying a URI or a Symfony route name.
24
24
25
25
The CmfMenuBundle provides another way to generate URLs: By using the
26
26
:ref: `dynamic router <bundles-routing-dynamic-generator >` to generate routes
@@ -91,7 +91,7 @@ during the process of creating a menu item from a menu node. You can use this
91
91
event to control the ``MenuItem `` that is created and to mark the current node
92
92
or its children as skipped.
93
93
94
- Listeners for this method recieve a ``CreateMenuItemFromNodeEvent `` instance,
94
+ Listeners for this method receive a ``CreateMenuItemFromNodeEvent `` instance,
95
95
which provides access to node using the ``getNode() `` method and allows
96
96
skipping nodes using the ``setSkipNode() `` and ``setSkipChildren() `` methods.
97
97
Original file line number Diff line number Diff line change @@ -241,6 +241,6 @@ configuration:
241
241
242
242
.. _`Sonata Admin extension documentation` : http://sonata-project.org/bundles/admin/master/doc/reference/extensions.html
243
243
.. _SonataDoctrinePHPCRAdminBundle : http://sonata-project.org/bundles/doctrine-phpcr-admin/master/doc/index.html
244
- .. _`configuring sonata admin` : http://sonata-project.org/bundles/doctrine-phpcr-admin/master/doc/reference/configuration.html
244
+ .. _`the sonata admin documentation ` : http://sonata-project.org/bundles/doctrine-phpcr-admin/master/doc/reference/configuration.html
245
245
.. _`KnpMenuBundle documentation` : http://github.com/KnpLabs/KnpMenu/blob/master/doc/01-Basic-Menus.markdown#menu-attributes
246
246
.. _BurgovKeyValueFormBundle : https://github.com/Burgov/KeyValueFormBundle
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ its menu items correspond to the page the user is currently viewing.
10
10
11
11
To determine which menu item should be marked as the current item, KnpMenu
12
12
includes voters. By default, KnpMenu comes with a voter that uses the Symfony
13
- router to determine if the current page is equal to the page referced by the
13
+ router to determine if the current page is equal to the page referenced by the
14
14
item.
15
15
16
16
This works well for static pages, highlighting the "About" item when viewing
You can’t perform that action at this time.
0 commit comments