I'm porting a legacy system that uses Symphony framework is virtually no experience on the symphony to me.
I must overwrite a way to perform an action on an external site and
The current me How to do it? Routing is only for internal content because you can not route it It has been said that you can not control the controller can redirect to: Of course you need your routing.yml code
mysystemtool: url: /: module / mysystemtool / tools / * ultimate: {action: Mysystemtool}
http: / Need to redirect to a URL such as /thirdpartyurl.com/?session_param=session_value
public function Nishpadnmaissistmolol (sfWebRequest $ request) {$ param = $ this-> getUser () - & gt; GetAttribute ('session_param', 'default_value'); $ This- & gt; Redirect ('http://thirdpartyurl.com?session_param='.param); }
actions.class.php set up a module so that you can address this behavior, but if you have an existing If action takes you must change logic only in action
Comments
Post a Comment