where should I place the calls to my class? |
[eluser]coffak[/eluser]
Hello everybody, I'm new in codeigniter and MVC pattern. I've been reading about MVC theory and codeIgniter and I am not sure where should I place the calls to my class. Should I place it in the model or in the controller? According to the user guide (http://ellislab.com/codeigniter/user-gui...aries.html) I should make the calls from the controller, but acccording to this tutorial (http://php-html.net/tutorials/model-view...er-in-php/) I should make the calls from the model. Thanks in advance for your help. PD: English is not my natural language... |
Messages In This Thread |
where should I place the calls to my class? - by El Forum - 03-25-2011, 01:35 PM
where should I place the calls to my class? - by El Forum - 03-25-2011, 09:00 PM
where should I place the calls to my class? - by El Forum - 03-25-2011, 10:32 PM
where should I place the calls to my class? - by El Forum - 03-26-2011, 08:04 AM
where should I place the calls to my class? - by El Forum - 03-26-2011, 11:54 AM
where should I place the calls to my class? - by El Forum - 03-26-2011, 12:15 PM
|