Dan

You mean a class with some useful functions you can inherit from? Really bad
idea. 
Besides controllers already inherit from from other class and bootstrap is
just a file.
Putting unrelated functionality into a single class is also not very OOP
friendly.
Instead, try using zend registry to store session and auth object.

Karol


Dan Rossi-5 wrote:
> 
> Hi there I was wondering if it was possible to have a baseclass for all 
> controllers, or a bootstrap, so thats its possible to contain reusable 
> methods for all controllers, IE session handling methods, authentication 
> etc.
> 
> Let me know.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/project-baseclass-for-all-controllers-tf4203756s16154.html#a11960957
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to