Skip to content

Commit c8b932b

Browse files
committed
Update view parser filters doc
1 parent 1024589 commit c8b932b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

user_guide_src/source/outgoing/view_parser.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ Custom Filters
426426
--------------
427427

428428
You can easily create your own filters by editing **app/Config/View.php** and adding new entries to the
429-
``$filters`` array. Each key is the name of the filter is called by in the view, and its value is any valid PHP
429+
``$filters`` array. Each key is the name which the filter is called by in the view, and its value is any valid PHP
430430
callable:
431431

432432
.. literalinclude:: view_parser/012.php
@@ -435,8 +435,8 @@ PHP Native functions as Filters
435435
-------------------------------
436436

437437
You can use native php function as filters by editing **app/Config/View.php** and adding new entries to the
438-
``$filters`` array.Each key is the name of the native PHP function is called by in the view, and its value is any valid native PHP
439-
function prefixed with:
438+
``$filters`` array. Each key is the name which the native PHP function is called by in the view, and its value is any valid native PHP
439+
function prefixed with ``\``:
440440

441441
.. literalinclude:: view_parser/013.php
442442

0 commit comments

Comments
 (0)