summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/loader.html
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2008-10-26 23:08:21 +0100
committerRick Ellis <rick.ellis@ellislab.com>2008-10-26 23:08:21 +0100
commitbfafdc572c34a726ecd601b77ed0217c3fb1be47 (patch)
tree1dd0346bcb04f3b5461257d68ce37e9505814429 /user_guide/libraries/loader.html
parentdbd7d0c1cece398e9d411ca9b359bf1831c7ebae (diff)
fixed some typos
Diffstat (limited to 'user_guide/libraries/loader.html')
-rw-r--r--user_guide/libraries/loader.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/user_guide/libraries/loader.html b/user_guide/libraries/loader.html
index c40f44aa3..0e13d86bb 100644
--- a/user_guide/libraries/loader.html
+++ b/user_guide/libraries/loader.html
@@ -66,8 +66,8 @@ Loader Class
<p>The following functions are available in this class:</p>
+<h2>$this->load->library('<var>class_name</var>', <samp>$config</samp>, <kbd>'object name'</kbd>)</h2>
-<h2>$this->load->library('<var>class_name</var>')</h2>
<p>This function is used to load core classes. Where <var>class_name</var> is the name of the class you want to load.
Note: We use the terms "class" and "library" interchangeably.</p>
@@ -92,7 +92,7 @@ For example, if you have file located at:</p>
<h3>Setting options</h3>
-<p>The second parameter allows you to optionally pass configuration setting. You will typically pass these as an array:</p>
+<p>The second (optional) parameter allows you to optionally pass configuration setting. You will typically pass these as an array:</p>
<code>
$config = array (<br />
@@ -107,7 +107,7 @@ $this->load->library('email', $config);</code>
<h3>Assigning a Library to a different object name</h3>
-<p>If the third parameter is blank, the library will usually be assigned to an object with the same name as the library. For example, if the library is named <dfn>Session</dfn>, it
+<p>If the third (optional) parameter is blank, the library will usually be assigned to an object with the same name as the library. For example, if the library is named <dfn>Session</dfn>, it
will be assigned to a variable named <dfn>$this->session</dfn>.</p>
<p>If you prefer to set your own class names you can pass its value to the third parameter:</p>