diff options
author | Mike Funk <mfunk@xulonpress.com> | 2012-02-24 15:45:02 +0100 |
---|---|---|
committer | Mike Funk <mfunk@xulonpress.com> | 2012-02-24 15:45:02 +0100 |
commit | 7c26fab4a3db098ef5c4264c33cd4792c2b7a621 (patch) | |
tree | d66016665dd5b70c9ecaa5fbec49f235dc314a73 /user_guide_src | |
parent | 64d72b1b85efd3810a036b54d40d36ade6cd9f86 (diff) |
updated changelog and user guide.
Diffstat (limited to 'user_guide_src')
-rw-r--r-- | user_guide_src/source/changelog.rst | 1 | ||||
-rw-r--r-- | user_guide_src/source/libraries/sessions.rst | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/user_guide_src/source/changelog.rst b/user_guide_src/source/changelog.rst index 00d70f323..fd67ac233 100644 --- a/user_guide_src/source/changelog.rst +++ b/user_guide_src/source/changelog.rst @@ -71,6 +71,7 @@ Release Date: Not Released - Minor speed optimizations and method & property visibility declarations in the Calendar Library. - Removed SHA1 function in the :doc:`Encryption Library <libraries/encryption>`. - Added $config['csrf_regeneration'] to the CSRF protection in the :doc:`Security library <libraries/security>`, which makes token regeneration optional. + - Added all_flashdata method to session class. Returns an associative array of only flashdata. - Core diff --git a/user_guide_src/source/libraries/sessions.rst b/user_guide_src/source/libraries/sessions.rst index ef32f5d71..e8332ee97 100644 --- a/user_guide_src/source/libraries/sessions.rst +++ b/user_guide_src/source/libraries/sessions.rst @@ -209,6 +209,10 @@ set_userdata(). To read a flashdata variable:: $this->session->flashdata('item'); + +An array of all flashdata can be retrieved as follows:: + + $this->session->all_flashdata(); If you find that you need to preserve a flashdata variable through an |