From bfafdc572c34a726ecd601b77ed0217c3fb1be47 Mon Sep 17 00:00:00 2001
From: Rick Ellis The following functions are available in this class: 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.$this->load->library('class_name', $config, 'object name')
-$this->load->library('class_name')
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);
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