i took a look at the that and could not figure out the naming convention to
do this automatically.  

i subclassed zend_controller_action and added the __call method as outlined
in the wiki:

<?php
class DSF_Controller_Action extends Zend_Controller_Action 
{

    public function __call($method, $args)
    {
        $module = $this->_request->getModuleName();
        $controller = $this->_request->getControllerName();
        $action = $this->_request->getActionName();

        if ('Action' == substr($method, -6) && $module != 'core') {
            // If the action method was not found, try the core controller
            return $this->_forward($action, $controller, 'core');
        }

        // all other methods throw an exception
        throw new Exception('Invalid method "' . $method . '" called');
    }
    
}


-- 
View this message in context: 
http://www.nabble.com/Using-Zend_Config---Changing-a-module-behaviour-tp14118520s16154p14255076.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to