Hi

i found from a post that using Zend Framework’s Zend_Controller_Router_Route
class we can route all incoming requests for (say) /testcntrl/store to
testcntrlController and a specific action in testcntrl eg. checkingAction()

In my situation 
i need to call a controller like this
test/cateogryname1
or
test/categoryname2

here the categoryname1 or categoryname2 are the parameters for the index
action
i know the proper method is 
test/index/categoryname/categoryname1.
i just want to avoid that 'index' and 'categoryname' from the url

and i tried and succeed another method by forwarding the undefined actions
to a specific action
by implementing __call() method

But i want to now that, whether we can do the same using the Route class in
zend
by keeping the last parameter as a variable

Regards
Anees






-- 
View this message in context: 
http://old.nabble.com/Question-about-zend_Route-tp26261853p26261853.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to