List Info

Thread: AW: question about URL parameters after controller/action




AW: question about URL parameters after controller/action
user name
2007-08-26 06:22:34
Hi Steven,

you could use /thumb/resize/param1/value1/param2/value2 etc
and access them
by $this->_request->getParam('param1')


Best regards,
Daniel

-----Ursprüngliche Nachricht-----
Von: Truppe Steven [mailto:steven.truppechello.at] 
Gesendet: Sonntag, 26. August 2007 05:36
An: fw-generallists.zend.com
Betreff: [fw-general] question about URL parameters after
controller/action


i have the controller Thumb with the action resizeAction(),
but for
example if i have
www.domain.tld/thumb/resize/some/other/params - is
there a methods that returns the parameter
part of the url (some/other/params) ?

i find only the action module and controller settings inside
the request
object, the only way would be to parse the url and remove
action&controller part... isn't there a smarter solution
?


-----
best regards,
Truppe Steven


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )