diff options
author | Andrey Andreev <narf@devilix.net> | 2013-10-16 12:59:43 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2013-10-16 12:59:43 +0200 |
commit | b69cbcb6844870af6f95fd7648c8533408b12eb6 (patch) | |
tree | a93351734d65617f5dcc67de06e05abab02b869e /user_guide_src/source | |
parent | d3782faa8cf8b402ce622ef8a98d9b79183b562d (diff) |
Changelog/doc edits following PR #2684
Diffstat (limited to 'user_guide_src/source')
-rw-r--r-- | user_guide_src/source/changelog.rst | 2 | ||||
-rw-r--r-- | user_guide_src/source/libraries/loader.rst | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/user_guide_src/source/changelog.rst b/user_guide_src/source/changelog.rst index a76fcd784..5774ff115 100644 --- a/user_guide_src/source/changelog.rst +++ b/user_guide_src/source/changelog.rst @@ -57,7 +57,6 @@ Release Date: Not Released - Removed *cheatsheets* and *quick_reference* PDFs from the documentation. - Added availability checks where usage of dangerous functions like ``eval()`` and ``exec()`` is required. - Added support for changing the file extension of log files using ``$config['log_file_extension']``. - - Added possibility clear out the cached variables from the Loader. - Helpers @@ -382,6 +381,7 @@ Release Date: Not Released - Added support for model aliasing on autoload. - Changed method ``is_loaded()`` to ask for the (case sensitive) library name instead of its instance name. - Removed ``$_base_classes`` property and unified all class data in ``$_ci_classes`` instead. + - Added method ``clear_vars()`` to allow clearing the cached variables for views. - :doc:`Input Library <libraries/input>` changes include: diff --git a/user_guide_src/source/libraries/loader.rst b/user_guide_src/source/libraries/loader.rst index 19446a9c8..91db5afbd 100644 --- a/user_guide_src/source/libraries/loader.rst +++ b/user_guide_src/source/libraries/loader.rst @@ -234,6 +234,11 @@ $this->load->get_vars() This method retrieves all variables available to your views. +$this->load->clear_vars() +========================= + +Clears cached view variables. + $this->load->helper('file_name') ================================ |