From bfafdc572c34a726ecd601b77ed0217c3fb1be47 Mon Sep 17 00:00:00 2001 From: Rick Ellis Date: Sun, 26 Oct 2008 22:08:21 +0000 Subject: fixed some typos --- user_guide/libraries/loader.html | 6 +++--- 1 file 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

The following functions are available in this class:

+

$this->load->library('class_name', $config, 'object name')

-

$this->load->library('class_name')

This function is used to load core classes. Where class_name is the name of the class you want to load. Note: We use the terms "class" and "library" interchangeably.

@@ -92,7 +92,7 @@ For example, if you have file located at:

Setting options

-

The second parameter allows you to optionally pass configuration setting. You will typically pass these as an array:

+

The second (optional) parameter allows you to optionally pass configuration setting. You will typically pass these as an array:

$config = array (
@@ -107,7 +107,7 @@ $this->load->library('email', $config);

Assigning a Library to a different object name

-

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 Session, it +

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 Session, it will be assigned to a variable named $this->session.

If you prefer to set your own class names you can pass its value to the third parameter:

-- cgit v1.2.3-24-g4f1b