2009年4月28日星期二

Re: [fw-mvc] Question on some settings for Zend_Application

Cristian Bichis schrieb:
> Sebastian Krebs wrote:
>> Cristian Bichis schrieb:
>>
>>> Hi,
>>>
>>> What's the difference between those settings ?
>>>
>>> resources.frontController.moduleController = MODULE_PATH
>>>
>>> resources.frontController.moduledirectory = MODULE_PATH
>>>
>>> I am using currently second setting...
>>>
>>
>> The first one doenst exists. You mean 'modulecontrollerdirectoryname'?
>> The is the directory name, in which the Controllers are saved - usually
>> 'directory/'.
>>
>>
> That one is into documentation:
>
> |resources.frontController.moduleController = APPLICATION_PATH . "/modules"|
>
> See here:
>
> http://framework.zend.com/manual/en/zend.application.available-resources.html
>


Must be a mistake. Have a look at the source of
'Zend_Application_Resource_Frontcontroller'. The key 'moduleController'
is not evaluated. All other will be directly set to
'$front->setParam()'. A list of predefined params can be found at [1]


[1]
http://framework.zend.com/manual/en/zend.controller.front.html#zend.controller.front.methods.params


> --
> Best regards,
> Cristian Bichis
> www.zftutorials.com | www.zfforums.com | www.zftalk.com | www.zflinks.com
>

--
Sebastian Krebs
http://www.kingcrunch2000.de
PGP public key for encryption
http://kingcrunch2000.de/public/0x44291B2B-pub.asc

没有评论: