summaryrefslogtreecommitdiffstats
path: root/user_guide/helpers/array_helper.html
diff options
context:
space:
mode:
authorRazican <devnull@localhost>2011-04-25 17:26:45 +0200
committerRazican <devnull@localhost>2011-04-25 17:26:45 +0200
commit114ab0988e20ac6be39ad363ff897a1a3b85e565 (patch)
treee20da6ac8647d11304464db6c98ae32725193635 /user_guide/helpers/array_helper.html
parent48d6d5856ea95dd363f2a420f08200f488fb5151 (diff)
Fixed double-space typo.
Diffstat (limited to 'user_guide/helpers/array_helper.html')
-rw-r--r--user_guide/helpers/array_helper.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/user_guide/helpers/array_helper.html b/user_guide/helpers/array_helper.html
index a19621453..88e8384d5 100644
--- a/user_guide/helpers/array_helper.html
+++ b/user_guide/helpers/array_helper.html
@@ -70,8 +70,8 @@ Array Helper
<h2>element()</h2>
-<p>Lets you fetch an item from an array. The function tests whether the array index is set and whether it has a value. If
-a value exists it is returned. If a value does not exist it returns FALSE, or whatever you've specified as the default value via the third parameter. Example:</p>
+<p>Lets you fetch an item from an array. The function tests whether the array index is set and whether it has a value. If
+a value exists it is returned. If a value does not exist it returns FALSE, or whatever you've specified as the default value via the third parameter. Example:</p>
<code>
$array = array('color' => 'red', 'shape' => 'round', 'size' => '');<br />
@@ -86,7 +86,7 @@ echo element('size', $array, NULL);
<h2>random_element()</h2>
-<p>Takes an array as input and returns a random element from it. Usage example:</p>
+<p>Takes an array as input and returns a random element from it. Usage example:</p>
<code>$quotes = array(<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"I find that the harder I work, the more luck I seem to have. - Thomas Jefferson",<br />
@@ -102,8 +102,8 @@ echo random_element($quotes);</code>
<h2>elements()</h2>
-<p>Lets you fetch a number of items from an array. The function tests whether each of the array indices is set. If an index does not exist
-it is set to FALSE, or whatever you've specified as the default value via the third parameter. Example:</p>
+<p>Lets you fetch a number of items from an array. The function tests whether each of the array indices is set. If an index does not exist
+it is set to FALSE, or whatever you've specified as the default value via the third parameter. Example:</p>
<code>
$array = array(<br />
@@ -142,7 +142,7 @@ array(<br />
);
</code>
-<p>This is useful when sending the <kbd>$_POST</kbd> array to one of your Models. This prevents users from
+<p>This is useful when sending the <kbd>$_POST</kbd> array to one of your Models. This prevents users from
sending additional POST data to be entered into your tables:</p>
<code>