Hello Everybody:
I've got a question with using modules with ZF. I got a website which
basically has three sections "pro" and "public". So I thought have three
different modules like "default", "pro" and "public".
Bootstrap sets the controller directories like this:
'default' => 'application/default/controllers',
'pro' => 'application/pro/controllers',
'public' => 'application/public/controllers'
And the similar paths to models were added to the include path using the
same bootstrap.
However when I try to do this,
indexAction() {
Zend_Loader::loadeClass('Index');
}
in my "/application/default/controller/IndexController.php", expecting to
load my "Index" model class from this file
"/application/default/models/Index.php" I get an error similar to this:
File 'Index.php' loaded but the class 'Index" was not found.
I renamed the file to "Index2.php" and I still get the same error. This
means somehow the system defaults to some other "Index.php" file in
somewhere else.
Does anyone know a clue for this or and good resource to read about how to
handle "modules" in ZF?
Thanks!!! Much appreciated.
--
View this message in context:
http://www.nabble.com/Question-about-using-MODULES-tf4342914s16154.html#a12371849
Sent from the Zend Framework mailing list archive at Nabble.com.