Skip to content

Commit dc9a424

Browse files
committed
docs: make function name linkable
1 parent f36803f commit dc9a424

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

user_guide_src/source/outgoing/view_renderer.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ View Renderer
1010
Using the View Renderer
1111
***********************
1212

13-
The ``view()`` function is a convenience function that grabs an instance of the
13+
The :php:func:`view()` function is a convenience function that grabs an instance of the
1414
``renderer`` service, sets the data, and renders the view. While this is often
1515
exactly what you want, you may find times where you want to work with it more directly.
1616
In that case you can access the View service directly:
@@ -84,7 +84,7 @@ If you don't want the data to be escaped, you can pass ``null`` or ``'raw'`` as
8484
:lines: 2-
8585

8686
If you choose not to escape data, or you are passing in an object instance, you can manually escape the data within
87-
the view with the ``esc()`` function. The first parameter is the string to escape. The second parameter is the
87+
the view with the :php:func:`esc()` function. The first parameter is the string to escape. The second parameter is the
8888
context to escape the data for (see below)::
8989

9090
<?= esc($object->getStat()) ?>

0 commit comments

Comments
 (0)