diff options
author | Andrey Andreev <narf@devilix.net> | 2016-01-20 11:10:08 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2016-01-20 11:10:08 +0100 |
commit | 22df06b544cb74b4a71c0e1b0d9fa0bc13c95469 (patch) | |
tree | 7f6215aef60bdc452aac55022d7b8b02959e90c4 | |
parent | 05268d6d08afb3b66e7edd5877c597ef7ea2113a (diff) |
[ci skip] Fix a documentation error on output cache times
-rw-r--r-- | system/core/Output.php | 2 | ||||
-rw-r--r-- | user_guide_src/source/libraries/output.rst | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/system/core/Output.php b/system/core/Output.php index ad87f8545..ec9c21b91 100644 --- a/system/core/Output.php +++ b/system/core/Output.php @@ -377,7 +377,7 @@ class CI_Output { /** * Set Cache * - * @param int $time Cache expiration time in seconds + * @param int $time Cache expiration time in minutes * @return CI_Output */ public function cache($time) diff --git a/user_guide_src/source/libraries/output.rst b/user_guide_src/source/libraries/output.rst index 84529f766..92060f66a 100644 --- a/user_guide_src/source/libraries/output.rst +++ b/user_guide_src/source/libraries/output.rst @@ -199,11 +199,11 @@ Class Reference .. php:method:: cache($time) - :param int $time: Cache expiration time in seconds + :param int $time: Cache expiration time in minutes :returns: CI_Output instance (method chaining) :rtype: CI_Output - Caches the current page for the specified amount of seconds. + Caches the current page for the specified amount of minutes. For more information, please see the :doc:`caching documentation <../general/caching>`. |