Skip to content

Commit bd21315

Browse files
committed
docs: replace userdata
`userdata` does not make sense in CI4.
1 parent ecb8c5a commit bd21315

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

user_guide_src/source/libraries/sessions.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,14 @@ variable, you will do this:
141141
.. note:: The ``get()`` method returns null if the item you are trying
142142
to access does not exist.
143143

144-
If you want to retrieve all of the existing userdata, you can simply
144+
If you want to retrieve all of the existing session data, you can simply
145145
omit the item key (magic getter only works for single property values):
146146

147147
.. literalinclude:: sessions/009.php
148148

149149
.. important:: The ``get()`` method WILL return flashdata or tempdata items when
150150
retrieving a single item by key. It will not return flashdata or tempdata when
151-
grabbing all userdata from the session, however.
151+
grabbing all data from the session, however.
152152

153153
Adding Session Data
154154
===================
@@ -251,7 +251,7 @@ through ``$_SESSION``:
251251

252252
.. important:: The ``get()`` method WILL return flashdata items when
253253
retrieving a single item by key. It will not return flashdata when
254-
grabbing all userdata from the session, however.
254+
grabbing all data from the session, however.
255255

256256
However, if you want to be sure that you're reading "flashdata" (and not
257257
any other kind), you can also use the ``getFlashdata()`` method:
@@ -313,7 +313,7 @@ To read a tempdata variable, again you can just access it through the
313313

314314
.. important:: The ``get()`` method WILL return tempdata items when
315315
retrieving a single item by key. It will not return tempdata when
316-
grabbing all userdata from the session, however.
316+
grabbing all data from the session, however.
317317

318318
Or if you want to be sure that you're reading "tempdata" (and not any
319319
other kind), you can also use the ``getTempdata()`` method:

0 commit comments

Comments
 (0)