|
|||
|
if by models you are referring to 'model view controller', then models normally would represent a table in a database. You need to make sure your models directory is in the 'include_path'. This is taken care of in your bootstrap file. Each model will be a class declaration that extends Zend_Db_Table. Only 1 model should be defined per file.
Zend Framework: Documentation |
|
|||
|
If i do so, then can you give me the model class structure?. Then we can and add the model's path in the "include_path". My question is, How to call the model's class methods and how to make it to function ? And do we need to pass this Model key thru URL?
-Mugesh. |
|
|||
|
Quote:
The index.php file is called the BOOTSTRAP FILE. Every single http request made to your web site is directed to index.php. Therefore, all of your settings are stored there. It is the most important file in your web app. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|