summaryrefslogtreecommitdiffstats
path: root/system/core/URI.php
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2011-08-15 01:15:12 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-08-15 01:15:12 +0200
commit08d186492af82a7087c0a45a80b7e8d469c83292 (patch)
tree795ecf075e524e4a33d98a90580eb4dcabf80040 /system/core/URI.php
parent2369e77dcd716c772576c1f982e9446785db819d (diff)
parent07b53422f8d61e6b0b7e6479b0de92ad1a1ce05e (diff)
Merge pull request #52 from waldmeister/develop
Added some docs to CI core files
Diffstat (limited to 'system/core/URI.php')
-rwxr-xr-x[-rw-r--r--]system/core/URI.php31
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())
{