1

我有一个带有模块'dashboard'和'admin'的zend框架应用程序,其中'dashboard'是默认模块。当我尝试访问不同的模块时,我得到这样的请求对象

Zend_Controller_Request_Http Object
(
    [_paramSources:protected] => Array
        (
            [0] => _GET
            [1] => _POST
        )

    [_requestUri:protected] => /admin/application/show/
    [_baseUrl:protected] => http://local.dashmonitor.us.com
    [_basePath:protected] => 
    [_pathInfo:protected] => /admin/application/show/
    [_params:protected] => Array
        (
            [module] => admin
            [controller] => application
            [action] => get
            [id] => show
        )

    [_rawBody:protected] => 
    [_aliases:protected] => Array
        (
        )

    [_dispatched:protected] => 1
    [_module:protected] => admin
    [_moduleKey:protected] => module
    [_controller:protected] => application
    [_controllerKey:protected] => controller
    [_action:protected] => get
    [_actionKey:protected] => action
)

我的真实动作名称是“显示”,但在这里更改为“获取”。有人可以帮忙吗?

4

0 回答 0