From d34f4248ec3fe428838aadccaf8ca57047a4f60e Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 25 Aug 2006 22:03:55 +0000 Subject: --- user_guide/general/libraries.html | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) (limited to 'user_guide/general/libraries.html') 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() { Code Igniter Home  ›  User Guide Home  ›  -Loading Libraries +Using Code Igniter Libraries
Search User Guide   
@@ -60,10 +60,10 @@ Loading Libraries
-

Loading Libraries

+

Using Code Igniter Libraries

-

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:

+

All of the available libraries are located in your system/libraries folder. +In most cases, to use one of these classes involves initializing it within a controller using the following initialization function:

$this->load->library('class name'); @@ -71,24 +71,11 @@ In most cases, to use one of these classes involves initializing it within your $this->load->library('validation'); -

Once initialized you can use it as indicated in the user guide page corresponding to each class.

+

Once initialized you can use it as indicated in the user guide page corresponding to that class.

-

Semantic Relevance

+

Creating Your Own Libraries

-

The pattern you will use when calling functions is this:

- -

$this->class->function()

- -

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:

- -

$this->email->send()

-

$this->input->user_agent()

-

$this->benchmark->elapsed_time()

-

$this->db->query()

-

$this->load->helper()

-

$this->uri->segment()

-

$this->lang->line()

+

Please read the section of the user guide that discusses how to create your own libraries

-- cgit v1.2.3-24-g4f1b