From 55bc1a81545b3d8cc854a2eb77018ff1c54cec23 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Wed, 7 May 2008 15:36:59 +0000 Subject: changed an absolute path relative --- user_guide/general/models.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide') diff --git a/user_guide/general/models.html b/user_guide/general/models.html index 7b2d6865f..c0d972683 100644 --- a/user_guide/general/models.html +++ b/user_guide/general/models.html @@ -116,7 +116,7 @@ class Blogmodel extends Model {
}

Note: The functions in the above example use the Active Record database functions.

-

Note: For the sake of simplicity in this example we're using $_POST directly. This is generally bad practice, and a more common approach would be to use the Input Class $this->input->post('title')

+

Note: For the sake of simplicity in this example we're using $_POST directly. This is generally bad practice, and a more common approach would be to use the Input Class $this->input->post('title')

Anatomy of a Model

Model classes are stored in your application/models/ folder. They can be nested within sub-folders if you -- cgit v1.2.3-24-g4f1b