Hi.

Here is one way to do it. If you have your lib in library folder, for
example My, move it there and rename to My_ AdminControllerAction.

Regards, 
Sasa Stamenkovic.


Elia C. wrote:
> 
> Hi,
> 
> I made a web application with Zend Framework 1.6, now i want to use the
> new Zend Framework 1.8, the problem is that in my old application (with
> modular directory structure) i have my personal class that extends
> Zend_Controller_Action (in the same path of the other controllers), now ZF
> 1.8 tell me that it can find that class.
> 
> For Example:
> I have this structure:
> - application
>    - modules
>       - admin
>          - controller
>             - AdminControllerAction.php (class AdminControllerAction
> extends Zend_Controller_Action)
>             - IndexController.php (class Admin_IndexController extends
> AdminControllerAction)
> 
> I tried to rename AdminControllerAction in Admin_AdminControllerAction but
> doesn't work.
> I need this structure because some controllers need the same
> initialization code.
> Is there another tecnique to do this ?
> Can someone help me?
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Using-Zend-Action-Controller-Subclass-tp23761046p23761276.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to