From 6d504e1928f8638fabbd1ead84ce140d9fabf237 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Mon, 26 May 2008 02:34:43 +0000 Subject: grammar, typo and example corrections --- user_guide/libraries/loader.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide/libraries/loader.html') diff --git a/user_guide/libraries/loader.html b/user_guide/libraries/loader.html index 8cf5478e8..ea347cb54 100644 --- a/user_guide/libraries/loader.html +++ b/user_guide/libraries/loader.html @@ -105,7 +105,7 @@ to your browser. Remember to assign it to a variable if you want the data retur

$this->load->model('Model_name');

$this->load->model('Model_name');

-

If you model is located in a sub-folder, include the relative path from your models folder. For example, if you have a model located at application/models/blog/queries.php you'll load it using:

+

If your model is located in a sub-folder, include the relative path from your models folder. For example, if you have a model located at application/models/blog/queries.php you'll load it using:

$this->load->model('blog/queries');

If you would like your model assigned to a different object name you can specify it via the second parameter of the loading function:

-- cgit v1.2.3-24-g4f1b