summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-02-08 18:11:40 +0100
committerAndrey Andreev <narf@devilix.net>2014-02-08 18:11:40 +0100
commit6f6102c805198101fad36024b82692ebce20f2c8 (patch)
treea26c8c793633df4eb0911ba0128382a9c8141a36 /user_guide_src/source/libraries
parenta89c1dabd11e8628106b1629f76ec9fc65c20085 (diff)
Add method chaining support to Calendar & Pagination libs
Diffstat (limited to 'user_guide_src/source/libraries')
-rw-r--r--user_guide_src/source/libraries/calendar.rst6
-rw-r--r--user_guide_src/source/libraries/pagination.rst3
2 files changed, 6 insertions, 3 deletions
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.