summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries/calendar.rst
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-02-02 12:41:01 +0100
committerAndrey Andreev <narf@devilix.net>2015-02-02 12:41:01 +0100
commitcd3d9dbcbc99fa956b7400d328f202e1bcab4677 (patch)
treeca1e12b6751f31de8f49055118318643f7d647c7 /user_guide_src/source/libraries/calendar.rst
parent7fd0c2d22ccbeb824419477ae8b506b84002ea13 (diff)
[ci skip] Fix #3515
Diffstat (limited to 'user_guide_src/source/libraries/calendar.rst')
-rw-r--r--user_guide_src/source/libraries/calendar.rst20
1 files changed, 10 insertions, 10 deletions
diff --git a/user_guide_src/source/libraries/calendar.rst b/user_guide_src/source/libraries/calendar.rst
index 20832740b..52883d297 100644
--- a/user_guide_src/source/libraries/calendar.rst
+++ b/user_guide_src/source/libraries/calendar.rst
@@ -213,9 +213,9 @@ Example::
Class Reference
***************
-.. class:: CI_Calendar
+.. php:class:: CI_Calendar
- .. method:: initialize([$config = array()])
+ .. php:method:: initialize([$config = array()])
:param array $config: Configuration parameters
:returns: CI_Calendar instance (method chaining)
@@ -223,7 +223,7 @@ Class Reference
Initializes the Calendaring preferences. Accepts an associative array as input, containing display preferences.
- .. method:: generate([$year = ''[, $month = ''[, $data = array()]]])
+ .. php:method:: generate([$year = ''[, $month = ''[, $data = array()]]])
:param int $year: Year
:param int $month: Month
@@ -234,7 +234,7 @@ Class Reference
Generate the calendar.
- .. method:: get_month_name($month)
+ .. php:method:: get_month_name($month)
:param int $month: Month
:returns: Month name
@@ -242,7 +242,7 @@ Class Reference
Generates a textual month name based on the numeric month provided.
- .. method:: get_day_names($day_type = '')
+ .. php:method:: get_day_names($day_type = '')
:param string $day_type: 'long', 'short', or 'abr'
:returns: Array of day names
@@ -253,7 +253,7 @@ Class Reference
if an invalid type is provided) this method will return the "abbreviated"
style.
- .. method:: adjust_date($month, $year)
+ .. php:method:: adjust_date($month, $year)
:param int $month: Month
:param int $year: Year
@@ -274,7 +274,7 @@ Class Reference
[year] => '2015'
)
- .. method:: get_total_days($month, $year)
+ .. php:method:: get_total_days($month, $year)
:param int $month: Month
:param int $year: Year
@@ -287,9 +287,9 @@ Class Reference
// 29
.. note:: This method is an alias for :doc:`Date Helper
- <../helpers/date_helper>` function :func:`days_in_month()`.
+ <../helpers/date_helper>` function :php:func:`days_in_month()`.
- .. method:: default_template()
+ .. php:method:: default_template()
:returns: An array of template values
:rtype: array
@@ -298,7 +298,7 @@ Class Reference
your own template.
- .. method:: parse_template()
+ .. php:method:: parse_template()
:returns: CI_Calendar instance (method chaining)
:rtype: CI_Calendar