summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries/config.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/config.rst
parent7fd0c2d22ccbeb824419477ae8b506b84002ea13 (diff)
[ci skip] Fix #3515
Diffstat (limited to 'user_guide_src/source/libraries/config.rst')
-rw-r--r--user_guide_src/source/libraries/config.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/user_guide_src/source/libraries/config.rst b/user_guide_src/source/libraries/config.rst
index 3116b768a..3138e3403 100644
--- a/user_guide_src/source/libraries/config.rst
+++ b/user_guide_src/source/libraries/config.rst
@@ -171,7 +171,7 @@ folders:
Class Reference
***************
-.. class:: CI_Config
+.. php:class:: CI_Config
.. attribute:: $config
@@ -182,7 +182,7 @@ Class Reference
Array of all loaded config files
- .. method:: item($item[, $index=''])
+ .. php:method:: item($item[, $index=''])
:param string $item: Config item name
:param string $index: Index name
@@ -191,7 +191,7 @@ Class Reference
Fetch a config file item.
- .. method:: set_item($item, $value)
+ .. php:method:: set_item($item, $value)
:param string $item: Config item name
:param string $value: Config item value
@@ -199,7 +199,7 @@ Class Reference
Sets a config file item to the specified value.
- .. method:: slash_item($item)
+ .. php:method:: slash_item($item)
:param string $item: config item name
:returns: Config item value with a trailing forward slash or NULL if not found
@@ -208,7 +208,7 @@ Class Reference
This method is identical to ``item()``, except it appends a forward
slash to the end of the item, if it exists.
- .. method:: load([$file = ''[, $use_sections = FALSE[, $fail_gracefully = FALSE]]])
+ .. php:method:: load([$file = ''[, $use_sections = FALSE[, $fail_gracefully = FALSE]]])
:param string $file: Configuration file name
:param bool $use_sections: Whether config values shoud be loaded into their own section (index of the main config array)
@@ -218,7 +218,7 @@ Class Reference
Loads a configuration file.
- .. method:: site_url()
+ .. php:method:: site_url()
:returns: Site URL
:rtype: string
@@ -229,7 +229,7 @@ Class Reference
This method is normally accessed via the corresponding functions in the
:doc:`URL Helper </helpers/url_helper>`.
- .. method:: base_url()
+ .. php:method:: base_url()
:returns: Base URL
:rtype: string
@@ -240,7 +240,7 @@ Class Reference
This method is normally accessed via the corresponding functions in the
:doc:`URL Helper </helpers/url_helper>`.
- .. method:: system_url()
+ .. php:method:: system_url()
:returns: URL pointing at your CI system/ directory
:rtype: string