summaryrefslogtreecommitdiffstats
path: root/user_guide
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-09-04 21:29:17 +0200
committerDerek Jones <derek.jones@ellislab.com>2008-09-04 21:29:17 +0200
commite0fc57bffe1220b149b3f4f9ed800c8dd356bd57 (patch)
tree81171f1167de0836fda065ea9973a801c133102a /user_guide
parent0134ca4d6be32009c7fb7d40cfdbd31e19b970c3 (diff)
removed random invisible character (ASCII 194) from HTML and PHP files
Diffstat (limited to 'user_guide')
-rw-r--r--user_guide/database/active_record.html2
-rw-r--r--user_guide/general/common_functions.html4
-rw-r--r--user_guide/helpers/path_helper.html6
-rw-r--r--user_guide/installation/upgrade_160.html4
-rw-r--r--user_guide/libraries/xmlrpc.html32
5 files changed, 24 insertions, 24 deletions
diff --git a/user_guide/database/active_record.html b/user_guide/database/active_record.html
index 04e81d8cc..77a168fdb 100644
--- a/user_guide/database/active_record.html
+++ b/user_guide/database/active_record.html
@@ -699,7 +699,7 @@ $query = $this->db->get();</code>
<h1><a name="caching">&nbsp;</a>Active Record Caching</h1>
<p>While not &quot;true&quot; caching, Active Record enables you to save (or &quot;cache&quot;) certain parts of your queries for reuse later. Normally, when an Active Record call is completed, all stored information is reset for the next call. With caching, you can prevent this reset, and reuse information easily.</p>
-<p>Cached calls are cumulative.  If you make 2 cached select() calls, and then 2 uncached select() calls, this will result in 4 select() calls. There are three Caching functions available:</p>
+<p>Cached calls are cumulative. If you make 2 cached select() calls, and then 2 uncached select() calls, this will result in 4 select() calls. There are three Caching functions available:</p>
<h2>$this-&gt;db-&gt;start_cache()</h2>
<p>This function must be called to begin caching. All Active Record queries of the correct type (see below for supported queries) are stored for later use.</p>
<h2>$this-&gt;db-&gt;stop_cache()</h2>
diff --git a/user_guide/general/common_functions.html b/user_guide/general/common_functions.html
index 65058b9e3..432ba02c3 100644
--- a/user_guide/general/common_functions.html
+++ b/user_guide/general/common_functions.html
@@ -62,11 +62,11 @@ Auto-loading Resources
<p>is_writable() returns TRUE on Windows servers when you really can't write to the file as the OS reports to PHP as FALSE only if the read-only attribute is marked. This function determines if a file is actually writable by attempting to write to it first. Generally only recommended on platforms where this information may be unreliable.</p>
<code>if (is_really_writable('file.txt'))<br />
{<br />
-      echo &quot;I could write to this if I wanted to&quot;;<br />
+&nbsp;&nbsp;&nbsp;&nbsp;echo &quot;I could write to this if I wanted to&quot;;<br />
}<br />
else<br />
{<br />
-      echo &quot;File is not writable&quot;;<br />
+&nbsp;&nbsp;&nbsp;&nbsp;echo &quot;File is not writable&quot;;<br />
}</code>
<h2>config_item('<var>item_key</var>')</h2>
<p>The <a href="../libraries/config.html">Config library</a> is the preferred way of accessing configuration information, however config_item() can be used to retrieve single keys. See Config library documentation for more information.</p>
diff --git a/user_guide/helpers/path_helper.html b/user_guide/helpers/path_helper.html
index 42f4713d6..78815a256 100644
--- a/user_guide/helpers/path_helper.html
+++ b/user_guide/helpers/path_helper.html
@@ -73,14 +73,14 @@ Path Helper
<p>Checks to see if the path exists. This function will return a server path without symbolic links or relative directory structures. An optional second argument will cause an error to be triggered if the path cannot be resolved.</p>
<code>$directory = './../../etc/passwd';<br />
-echo set_realpath($directory);<br />
+echo set_realpath($directory);<br />
// returns &quot;/etc/passwd&quot;<br />
<br />
$non_existent_directory = './../../path/not/found';<br />
-echo set_realpath($non_existent_directory, TRUE);<br />
+echo set_realpath($non_existent_directory, TRUE);<br />
// returns &quot;/path/not/found&quot;<br />
<br />
-echo set_realpath($non_existent_directory, FALSE);<br />
+echo set_realpath($non_existent_directory, FALSE);<br />
// returns an <strong>error</strong>, as the path could not be resolved</code>
<h2>&nbsp;</h2>
</div>
diff --git a/user_guide/installation/upgrade_160.html b/user_guide/installation/upgrade_160.html
index a62ae57a1..f9b4c3b94 100644
--- a/user_guide/installation/upgrade_160.html
+++ b/user_guide/installation/upgrade_160.html
@@ -84,11 +84,11 @@ Upgrading from 1.5.4 to 1.6.0
<p>Add the following to system/application/autoload.php</p>
<p><code> /*<br />
| -------------------------------------------------------------------<br />
- |  Auto-load Model files<br />
+ | Auto-load Model files<br />
| -------------------------------------------------------------------<br />
| Prototype:<br />
|<br />
- |    $autoload['model'] = array('my_model');<br />
+ | $autoload['model'] = array('my_model');<br />
|<br />
*/<br />
<br />
diff --git a/user_guide/libraries/xmlrpc.html b/user_guide/libraries/xmlrpc.html
index 7e57b5511..9c1b7145f 100644
--- a/user_guide/libraries/xmlrpc.html
+++ b/user_guide/libraries/xmlrpc.html
@@ -403,22 +403,22 @@ The Server receives the request and maps it to the "process" function, where a r
<p>If you wish to use an associative array in your method parameters you will need to use a struct datatype:</p>
<code>$request = array(<br />
-                  array(<br />
-                        // Param 0<br />
-                        array(<br />
-                              'name'=&gt;'John'<br />
-                              ),<br />
-                              'struct'<br />
-                        ),<br />
-                        array(<br />
-                              // Param 1<br />
-                              array(<br />
-                                    'size'=&gt;'large',<br />
-                                    'shape'=&gt;'round'<br />
-                                    ),<br />
-                              'struct'<br />
-                        )<br />
-                  );<br />
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;array(<br />
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Param 0<br />
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;array(<br />
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp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p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;)<br />
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br />
$this-&gt;xmlrpc-&gt;request($request);</code>
<p>You can retrieve the associative array when processing the request in the Server.</p>