Now I am tearing my hair out over this. I started refactoring a small project
to 1.8. Before I had included my models directory in the include path so
they could be called whenever wherever.

My structure is

application
 - controllers
 - models
  - Sample.php
 - forms
 - configs
 - layouts
 - views
 - Bootstrap.php
public
 - .htaccess
 - index.php

Im not using a modular structure and do not wish to. I read up on Zend
Application and implemented it with the bootstrap I got a test project
going, my problem is I can no longer autoload my model classes
 
before I would use $sample = new Sample();

Now I can no longer get that working. I know it is to do with the namespace
autoloading but just cannot get my head round it.... any help would be
greatly appreciated.

Dave


-- 
View this message in context: 
http://www.nabble.com/Autoloading-models-tp23330806p23330806.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to