From 114ab0988e20ac6be39ad363ff897a1a3b85e565 Mon Sep 17 00:00:00 2001 From: Razican Date: Mon, 25 Apr 2011 17:26:45 +0200 Subject: Fixed double-space typo. --- user_guide/libraries/uri.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'user_guide/libraries/uri.html') diff --git a/user_guide/libraries/uri.html b/user_guide/libraries/uri.html index e4e0f9d3f..884f4b955 100644 --- a/user_guide/libraries/uri.html +++ b/user_guide/libraries/uri.html @@ -106,7 +106,7 @@ re-routed URI in the event you are using CodeIgniter's $this->uri->uri_to_assoc(n) -

This function lets you turn URI segments into and associative array of key/value pairs. Consider this URI:

+

This function lets you turn URI segments into and associative array of key/value pairs. Consider this URI:

index.php/user/search/name/joe/location/UK/gender/male @@ -143,7 +143,7 @@ re-routed URI in the event you are using CodeIgniter's
$this->uri->assoc_to_uri() -

Takes an associative array as input and generates a URI string from it. The array keys will be included in the string. Example:

+

Takes an associative array as input and generates a URI string from it. The array keys will be included in the string. Example:

$array = array('product' => 'shoes', 'size' => 'large', 'color' => 'red');

$str = $this->uri->assoc_to_uri($array);

-// Produces: product/shoes/size/large/color/red +// Produces: product/shoes/size/large/color/red

$this->uri->uri_string()

-

Returns a string with the complete URI. For example, if this is your full URL:

+

Returns a string with the complete URI. For example, if this is your full URL:

http://example.com/index.php/news/local/345 @@ -215,7 +215,7 @@ re-routed URI in the event you are using CodeIgniter's
$this->uri->slash_segment(n)

This function is almost identical to $this->uri->segment(), except it adds a trailing and/or leading slash based on the second -parameter. If the parameter is not used, a trailing slash added. Examples:

+parameter. If the parameter is not used, a trailing slash added. Examples:

$this->uri->slash_segment(3);
$this->uri->slash_segment(3, 'leading');
@@ -130,7 +130,7 @@ re-routed URI in the event you are using CodeIgniter's
'male'
)
-

The first parameter of the function lets you set an offset. By default it is set to 3 since your +

The first parameter of the function lets you set an offset. By default it is set to 3 since your URI will normally contain a controller/function in the first and second segments. Example:

@@ -173,19 +173,19 @@ re-routed URI in the event you are using CodeIgniter's
$this->uri->segment_array() -

Returns an array containing the URI segments. For example:

+

Returns an array containing the URI segments. For example:

$segs = $this->uri->segment_array();
-- cgit v1.2.3-24-g4f1b