summaryrefslogtreecommitdiffstats
path: root/user_guide
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-08-26 00:09:35 +0200
committeradmin <devnull@localhost>2006-08-26 00:09:35 +0200
commit04d4dbede875d9562da88f6eb4dfa2af8cc91511 (patch)
treeab2b41ba5f84f39751eb77cef6ff323afe569b44 /user_guide
parentd34f4248ec3fe428838aadccaf8ca57047a4f60e (diff)
Diffstat (limited to 'user_guide')
-rw-r--r--user_guide/general/core_classes.html (renamed from user_guide/general/base_classes.html)14
-rw-r--r--user_guide/scripts/nav.js2
2 files changed, 8 insertions, 8 deletions
diff --git a/user_guide/general/base_classes.html b/user_guide/general/core_classes.html
index 215bd25b5..c03e70d63 100644
--- a/user_guide/general/base_classes.html
+++ b/user_guide/general/core_classes.html
@@ -47,7 +47,7 @@ window.onload = function() {
<td id="breadcrumb">
<a href="http://www.codeigniter.com/">Code Igniter Home</a> &nbsp;&#8250;&nbsp;
<a href="../index.html">User Guide Home</a> &nbsp;&#8250;&nbsp;
-Replacing System Classes
+Creating Core System Classes
</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&nbsp; <input type="text" class="input" style="width:200px;" name="q" id="q" size="31" maxlength="255" value="" />&nbsp;<input type="submit" class="submit" name="sa" value="Go" /></form></td>
</tr>
@@ -60,11 +60,11 @@ Replacing System Classes
<!-- START CONTENT -->
<div id="content">
-<h1>Replacing System Classes</h1>
+<h1>Creating Core System Classes</h1>
<p>Every time Code Igniter runs there are several base classes that are initialized automatically as part of the core framework.
-It is possible, however, to swap any of the core system files with your own versions.&nbsp; Most users will never have any need to do this,
-but the option to replace them does exist for those that would like to significantly alter the Code Igniter core.
+It is possible, however, to swap any of the core system classes with your own versions.&nbsp; <strong>Most users will never have any need to do this,
+but the option to replace them does exist for those that would like to significantly alter the Code Igniter core.</strong>
</p>
<p class="important"><strong>Note:</strong>&nbsp; Replacing a core system class with your own version has a lot of implications, so make sure you
@@ -90,10 +90,12 @@ know what you are doing before attempting it.</p>
<h2>Replacing Core Classes</h2>
-<p>To use one of your own system classes instead of a default one simply place your version inside your local <dfn>libraries</dfn> directory:</p>
+<p>To use one of your own system classes instead of a default one simply place your version inside your local <dfn>application/libraries</dfn> directory:</p>
<code>application/libraries/<dfn>some-class.php</dfn></code>
+<p>If this directory does not exist you can create it.</p>
+
<p>Any file named identically to one from the list above will be used instead of the one normally used.</p>
<p>Please note that your class must use <kbd>CI</kbd> as a prefix. For example, if your file is named <kbd>Input.php</kbd> the class will be named:</p>
@@ -106,8 +108,6 @@ class CI_Input {<br /><br />
-
-
</div>
<!-- END CONTENT -->
diff --git a/user_guide/scripts/nav.js b/user_guide/scripts/nav.js
index be0f7b1a8..27e65530c 100644
--- a/user_guide/scripts/nav.js
+++ b/user_guide/scripts/nav.js
@@ -46,7 +46,7 @@ function create_menu(basepath)
'<li><a href="'+base+'general/scripts.html">Scripts</a></li>' +
'<li><a href="'+base+'general/libraries.html">Using Code Igniter Libraries</a></li>' +
'<li><a href="'+base+'general/creating_libraries.html">Creating Your Own Libraries</a></li>' +
- '<li><a href="'+base+'general/base_classes.html">Creating Core Classes</a></li>' +
+ '<li><a href="'+base+'general/core_classes.html">Creating Core Classes</a></li>' +
'<li><a href="'+base+'general/hooks.html">Hooks - Extending the Core</a></li>' +
'<li><a href="'+base+'general/autoloader.html">Auto-loading Resources</a></li>' +
'<li><a href="'+base+'general/scaffolding.html">Scaffolding</a></li>' +