diff options
author | David Behler <mail@davidbehler.de> | 2011-08-15 00:25:06 +0200 |
---|---|---|
committer | David Behler <mail@davidbehler.de> | 2011-08-15 00:25:06 +0200 |
commit | 07b53422f8d61e6b0b7e6479b0de92ad1a1ce05e (patch) | |
tree | 1835aaefbc8d49b0a1c6c9fa823bcef0f303de4c /system/core/URI.php | |
parent | cda768a957172d5da7aa7637337405c39e0f774d (diff) |
Added some docs to CI core files
Diffstat (limited to 'system/core/URI.php')
-rwxr-xr-x[-rw-r--r--] | system/core/URI.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/system/core/URI.php b/system/core/URI.php index d56548654..10b0b7fa3 100644..100755 --- a/system/core/URI.php +++ b/system/core/URI.php @@ -28,9 +28,34 @@ */ class CI_URI { + /** + * List of cached uri segments + * + * @var array + * @access public + */ var $keyval = array(); + /** + * Current uri string + * + * @var string + * @access public + */ var $uri_string; + /** + * List of uri segments + * + * @var array + * @access public + */ var $segments = array(); + /** + * Re-indexed list of uri segments + * Starts at 1 instead of 0 + * + * @var array + * @access public + */ var $rsegments = array(); /** @@ -127,6 +152,7 @@ class CI_URI { * Set the URI String * * @access public + * @param string * @return string */ function _set_uri_string($str) @@ -366,6 +392,11 @@ class CI_URI { /** * Identical to above only it uses the re-routed segment array * + * @access public + * @param integer the starting segment number + * @param array an array of default values + * @return array + * */ function ruri_to_assoc($n = 3, $default = array()) { |