Skip to content

Commit 6cf2eb6

Browse files
committed
docs: make helper functions linkable
1 parent fe4ec45 commit 6cf2eb6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

user_guide_src/source/libraries/cookies.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ CodeIgniter provides three (3) other ways to create a new instance of the ``Cook
142142

143143
.. literalinclude:: cookies/008.php
144144

145-
.. note:: When using the global ``cookies()`` function, the passed ``Cookie`` array will only be considered
145+
.. note:: When using the global :php:func:`cookies()` function, the passed ``Cookie`` array will only be considered
146146
if the second argument, ``$getGlobal``, is set to ``false``.
147147

148148
Checking Cookies in Store
@@ -174,8 +174,8 @@ in store will be displayed.
174174

175175
.. literalinclude:: cookies/013.php
176176

177-
.. note:: The helper function ``get_cookie()`` gets the cookie from the current ``Request`` object, not
178-
from ``Response``. This function checks the `$_COOKIE` array if that cookie is set and fetches it
177+
.. note:: The helper function :php:func:`get_cookie()` gets the cookie from the current ``Request`` object, not
178+
from ``Response``. This function checks the ``$_COOKIE`` array if that cookie is set and fetches it
179179
right away.
180180

181181
Adding/Removing Cookies in Store

0 commit comments

Comments
 (0)