From 04d4dbede875d9562da88f6eb4dfa2af8cc91511 Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 25 Aug 2006 22:09:35 +0000 Subject: --- user_guide/general/base_classes.html | 127 ----------------------------------- user_guide/general/core_classes.html | 127 +++++++++++++++++++++++++++++++++++ user_guide/scripts/nav.js | 2 +- 3 files changed, 128 insertions(+), 128 deletions(-) delete mode 100644 user_guide/general/base_classes.html create mode 100644 user_guide/general/core_classes.html diff --git a/user_guide/general/base_classes.html b/user_guide/general/base_classes.html deleted file mode 100644 index 215bd25b5..000000000 --- a/user_guide/general/base_classes.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - -Code Igniter User Guide - - - - - - - - - - - - - - - - - - - - - - -
- - - - - -

Code Igniter User Guide Version 1.4.0

-
- - - - - - - - - -
- - -
- - - -
- -

Replacing System Classes

- -

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.  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. -

- -

Note:  Replacing a core system class with your own version has a lot of implications, so make sure you -know what you are doing before attempting it.

- - -

System Class List

- -

The following is a list of the core system files that are invoked every time Code Igniter runs:

- - - -

Replacing Core Classes

- -

To use one of your own system classes instead of a default one simply place your version inside your local libraries directory:

- -application/libraries/some-class.php - -

Any file named identically to one from the list above will be used instead of the one normally used.

- -

Please note that your class must use CI as a prefix. For example, if your file is named Input.php the class will be named:

- - -class CI_Input {

- -} -
- - - - - -
- - - - - - - \ No newline at end of file diff --git a/user_guide/general/core_classes.html b/user_guide/general/core_classes.html new file mode 100644 index 000000000..c03e70d63 --- /dev/null +++ b/user_guide/general/core_classes.html @@ -0,0 +1,127 @@ + + + + +Code Igniter User Guide + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +

Code Igniter User Guide Version 1.4.0

+
+ + + + + + + + + +
+ + +
+ + + +
+ +

Creating Core System Classes

+ +

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 classes with your own versions.  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. +

+ +

Note:  Replacing a core system class with your own version has a lot of implications, so make sure you +know what you are doing before attempting it.

+ + +

System Class List

+ +

The following is a list of the core system files that are invoked every time Code Igniter runs:

+ + + +

Replacing Core Classes

+ +

To use one of your own system classes instead of a default one simply place your version inside your local application/libraries directory:

+ +application/libraries/some-class.php + +

If this directory does not exist you can create it.

+ +

Any file named identically to one from the list above will be used instead of the one normally used.

+ +

Please note that your class must use CI as a prefix. For example, if your file is named Input.php the class will be named:

+ + +class CI_Input {

+ +} +
+ + + +
+ + + + + + + \ No newline at end of file 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) '
  • Scripts
  • ' + '
  • Using Code Igniter Libraries
  • ' + '
  • Creating Your Own Libraries
  • ' + - '
  • Creating Core Classes
  • ' + + '
  • Creating Core Classes
  • ' + '
  • Hooks - Extending the Core
  • ' + '
  • Auto-loading Resources
  • ' + '
  • Scaffolding
  • ' + -- cgit v1.2.3-24-g4f1b