Please find the attached file. This is a "patch" I made to solve this
issue. It could use some tweaking, but i think it solves your problem.
If you want to "bind" a url parameter to each route, you can (with this
patch) do the following:
Zend_View_Helper_Url::staticBind('lang');
If you then have a route like :lang/:controller/:action
the "lang" parameter will be assigned.... Give it a try, and let me know
if it works for you.
Best,
Andriesss
Ralf Eggert schreef:
> Hi Andries,
>
> Andries Seutens schrieb am 11.08.2008 09:38:
>
>> By defined, you mean defined in the current URL?
>>
>
> by "defined" I think of all parameters that are defined in the route
> definition and set in the current URL. So in reverse, undefined params
> are all params which are handled by the * in the route definition and
> set in the current URL.
>
> I hope I made myself clearer a little more.
>
> Thanks and best regards,
>
> Ralf
>
>
>
>
没有评论:
发表评论