Quote:
Originally Posted by Leif.Högberg
You would access the variables in the controller using parent::_getParam(variableName);
Thought I should add that incase it wasn't clear.
|
More commonly you see this.
Code:
//gets one param with the key of 'foo'
$this->_request->getParam('foo');
//gets all params and returns an array
$this->_request->getParams();
The params are part of the request object. I would think that parent:: would point to the Zend_Controller_Action class that your controller is extending vs. the request object.