diff options
author | purwandi <free6300@gmail.com> | 2011-10-07 14:58:22 +0200 |
---|---|---|
committer | purwandi <free6300@gmail.com> | 2011-10-07 14:58:22 +0200 |
commit | 89f6f1a750daa78ef88a7d1c2276cdc8591aff5d (patch) | |
tree | 897c9869c08fb108b25fa652bace82f40bc8b7bb /user_guide_src/source/general/models.rst | |
parent | 5ebf9d1d29f73c5b941fc7bb2e0a2cdcb347f74e (diff) |
Fix some user guide style
Diffstat (limited to 'user_guide_src/source/general/models.rst')
-rw-r--r-- | user_guide_src/source/general/models.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/user_guide_src/source/general/models.rst b/user_guide_src/source/general/models.rst index 4dd3e5765..b816f958a 100644 --- a/user_guide_src/source/general/models.rst +++ b/user_guide_src/source/general/models.rst @@ -65,7 +65,7 @@ model class might look like:: Anatomy of a Model ================== -Model classes are stored in your application/models/ folder. They can be +Model classes are stored in your **application/models/ folder**. They can be nested within sub-folders if you want this type of organization. The basic prototype for a model class is this:: @@ -78,7 +78,7 @@ The basic prototype for a model class is this:: } } -Where Model_name is the name of your class. Class names **must** have +Where **Model_name** is the name of your class. Class names **must** have the first letter capitalized with the rest of the name lowercase. Make sure your class extends the base Model class. @@ -148,7 +148,7 @@ Auto-loading Models If you find that you need a particular model globally throughout your application, you can tell CodeIgniter to auto-load it during system initialization. This is done by opening the -application/config/autoload.php file and adding the model to the +**application/config/autoload.php** file and adding the model to the autoload array. Connecting to your Database |