How do I add more parameters to sfRequest object, on server side, before the request is processed?
I tried below code but it does not work.
$request->setParameter('formname[id]');
Many thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Adding parameters to sfRequest object is quite simple.
The problem i think you may have faced is, with array parameters
Supposed you want to add “id” to your parameter “formname”.
This should do it.