2008年9月24日星期三

[fw-mvc] including models within the controller

Hello all,

I have a question.
In my boodstrap file I use the autoloader which loads all the classes which I need correctly. But in my controllers, whenever I want to use a class which exists in my models follder i have to use require_once('filename ');
Is this correct or is there a way to do this in a way like the autoloader?

Thanks in advance,

J. Sanders

没有评论: