summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide_src')
-rw-r--r--user_guide_src/source/changelog.rst2
-rw-r--r--user_guide_src/source/libraries/calendar.rst6
-rw-r--r--user_guide_src/source/libraries/pagination.rst3
3 files changed, 8 insertions, 3 deletions
diff --git a/user_guide_src/source/changelog.rst b/user_guide_src/source/changelog.rst
index a6fabe16b..f90fa42bf 100644
--- a/user_guide_src/source/changelog.rst
+++ b/user_guide_src/source/changelog.rst
@@ -284,6 +284,7 @@ Release Date: Not Released
- :doc:`Calendar Library <libraries/calendar>` changes include:
+ - Added method chaining support.
- Added configuration to generate days of other months instead of blank cells.
- Auto set *next_prev_url* if it is empty and *show_prev_next* is set to TRUE.
@@ -352,6 +353,7 @@ Release Date: Not Released
- :doc:`Pagination Library <libraries/pagination>` changes include:
+ - Added method chaining support to ``initialize()`` method.
- Added support for the anchor "rel" attribute.
- Added support for setting custom attributes.
- Deprecated usage of the "anchor_class" setting (use the new "attributes" setting instead).
diff --git a/user_guide_src/source/libraries/calendar.rst b/user_guide_src/source/libraries/calendar.rst
index aa10e941d..65a447a3d 100644
--- a/user_guide_src/source/libraries/calendar.rst
+++ b/user_guide_src/source/libraries/calendar.rst
@@ -202,7 +202,8 @@ Class Reference
.. method:: initialize([$config = array()])
:param array $config: Configuration parameters
- :rtype: void
+ :returns: CI_Calendar instance (method chaining)
+ :rtype: CI_Calendar
Initializes the Calendaring preferences. Accepts an associative array as input, containing display preferences.
@@ -280,7 +281,8 @@ Class Reference
.. method:: parse_template()
- :rtype: void
+ :returns: CI_Calendar instance (method chaining)
+ :rtype: CI_Calendar
Harvests the data within the template ``{pseudo-variables}`` used to
display the calendar. \ No newline at end of file
diff --git a/user_guide_src/source/libraries/pagination.rst b/user_guide_src/source/libraries/pagination.rst
index 222436f46..ee12d9e6f 100644
--- a/user_guide_src/source/libraries/pagination.rst
+++ b/user_guide_src/source/libraries/pagination.rst
@@ -308,7 +308,8 @@ Class Reference
.. method:: initialize([$params = array()])
:param array $params: Configuration parameters
- :rtype: void
+ :returns: CI_Pagination instance (method chaining)
+ :rtype: CI_Pagination
Initializes the Pagination class with your preferred options.