diff options
-rw-r--r-- | user_guide/general/libraries.html | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/user_guide/general/libraries.html b/user_guide/general/libraries.html index 642399ba9..edef2d729 100644 --- a/user_guide/general/libraries.html +++ b/user_guide/general/libraries.html @@ -47,7 +47,7 @@ window.onload = function() { <td id="breadcrumb">
<a href="http://www.codeigniter.com/">Code Igniter Home</a> ›
<a href="../index.html">User Guide Home</a> ›
-Loading Libraries
+Using Code Igniter Libraries
</td>
<td id="searchbox"><form method="get" action="http://www.google.com/search"><input type="hidden" name="as_sitesearch" id="as_sitesearch" value="www.codeigniter.com/user_guide/" />Search User Guide <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" /> <input type="submit" class="submit" name="sa" value="Go" /></form></td>
</tr>
@@ -60,10 +60,10 @@ Loading Libraries <!-- START CONTENT -->
<div id="content">
-<h1>Loading Libraries</h1>
+<h1>Using Code Igniter Libraries</h1>
-<p>The core libraries are the class files located in the "libraries" folder.
-In most cases, to use one of these classes involves initializing it within your controllers using the following function:</p>
+<p>All of the available libraries are located in your <dfn>system/libraries</dfn> folder.
+In most cases, to use one of these classes involves initializing it within a <a href="controllers.html">controller</a> using the following initialization function:</p>
<code>$this->load->library('<var>class name</var>'); </code>
@@ -71,24 +71,11 @@ In most cases, to use one of these classes involves initializing it within your <code>$this->load->library('<var>validation</var>'); </code>
-<p>Once initialized you can use it as indicated in the user guide page corresponding to each class.</p>
+<p>Once initialized you can use it as indicated in the user guide page corresponding to that class.</p>
-<h2>Semantic Relevance</h2>
+<h2>Creating Your Own Libraries</h2>
-<p>The pattern you will use when calling functions is this:</p>
-
-<p><kbd>$this</kbd>-><dfn>class</dfn>-><samp>function()</samp></p>
-
-<p>We've placed a high value on semantic relevance in the naming of our classes and functions.
-Here are some examples of function calls you might use in Code Igniter:</p>
-
-<p><kbd>$this</kbd>-><dfn>email</dfn>-><samp>send()</samp></p>
-<p><kbd>$this</kbd>-><dfn>input</dfn>-><samp>user_agent()</samp></p>
-<p><kbd>$this</kbd>-><dfn>benchmark</dfn>-><samp>elapsed_time()</samp></p>
-<p><kbd>$this</kbd>-><dfn>db</dfn>-><samp>query()</samp></p>
-<p><kbd>$this</kbd>-><dfn>load</dfn>-><samp>helper()</samp></p>
-<p><kbd>$this</kbd>-><dfn>uri</dfn>-><samp>segment()</samp></p>
-<p><kbd>$this</kbd>-><dfn>lang</dfn>-><samp>line()</samp></p>
+<p>Please read the section of the user guide that discusses how to <a href="creating_libraries.html">create your own libraries</a></p>
|