Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Form Questions /

Setting Params in HTTPRequest


Reply


1430 Views

Avatar
stefant42

Community Member, 14 Posts

3 March 2010 at 7:17am

Hi.

I want to set a param during runtime to get the Value in an other function.

For Example :

$id = $this->request->param('ID');
if(empty($id))
{
$this->request->setParam('ID',123);
}

But an setParam Method dont exists. My Question is, how can i set Param in the HTTPRequest Object. I want to call $this->request in my Page_Controller.

Best Regards,

Stefan