diff options
author | Andrey Andreev <narf@devilix.net> | 2014-02-20 14:46:05 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-02-20 14:46:05 +0100 |
commit | be368a82f789aaa9f0ac0c8b6fa72a2f7cd0b6d4 (patch) | |
tree | 43a29bbea1b145cf92ada0efe49f19b8fcbcd273 /user_guide_src/source/libraries/calendar.rst | |
parent | ca39f2efb2d827d13e4065535355de894965435a (diff) |
Date helper days_in_month(), CI_Calendar::get_total_days() changes
- days_in_month() now uses cal_days_in_month(), if available.
- CI_Calendar::get_total_days() is now an alias for days_in_month().
Diffstat (limited to 'user_guide_src/source/libraries/calendar.rst')
-rw-r--r-- | user_guide_src/source/libraries/calendar.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/user_guide_src/source/libraries/calendar.rst b/user_guide_src/source/libraries/calendar.rst index b4f95db1b..20832740b 100644 --- a/user_guide_src/source/libraries/calendar.rst +++ b/user_guide_src/source/libraries/calendar.rst @@ -286,6 +286,9 @@ Class Reference echo $this->calendar->get_total_days(2, 2012); // 29 + .. note:: This method is an alias for :doc:`Date Helper + <../helpers/date_helper>` function :func:`days_in_month()`. + .. method:: default_template() :returns: An array of template values |