>
> You need to require its classes
> into your controllers manually (implement something like _getModel()) -
> there is no Zend_Loader method for models autoload.
>
>
If
-your model folder is somewhere in your include path and
-you have specified Zend_Loader::registerAutoload();
You do not need to require you model manually. You can instantiate your
model calling
$model = new whateverModel;
--
View this message in context: http://www.nabble.com/Using-a-zend-framework-model-question-tp20868626p20870546.html
Sent from the Zend DB mailing list archive at Nabble.com.
没有评论:
发表评论