Matthew Weier O'Phinney-3 wrote:
>
> -- iceberg <[EMAIL PROTECTED]> wrote
> (on Friday, 03 October 2008, 05:39 AM -0700):
>> I have problem with mapping url to route.
>>
>> For example:
>>
>> I added route like this.
>>
>> Zend_Controller_Router_Route_Static(
>> 'show-me-heaven',
>> array('controller' => 'index', 'action' => 'show')
>> );
>>
>> And i want to get controller name and action name from path
>> 'show-me-heaven'.
>
> Attach the route to the router, and you're good to go.
>
> --
> Matthew Weier O'Phinney
> Software Architect | [EMAIL PROTECTED]
> Zend Framework | http://framework.zend.com/
>
>
Hello Matthew,
Thanks for response.
The point is that i have string "show-me-heaven", and i am searching for
method that map me it to controller-action values.
Adding route to the router give me opportunity to rewrite urls from request,
but i want to do this manually.
I have variable last_action in session and i want to figure out whether this
action was connected with some controller and action.
I don't know if i get your post, if not please give me stronger hint.
Best regards
--
View this message in context:
http://www.nabble.com/How-to-map-url-to-route-tp19796866p19798959.html
Sent from the Zend Framework mailing list archive at Nabble.com.