Currently, _getParam() can't access $_POST['person']['email']
directly. I miss this ability myself. I might be nice to add support
by passing an array of keys:

$this->_getParam(array('person', 'email'), $default);

I believe this would need to be added to the controller and request
classes. File a ticket in JIRA, and I'll take a look.

On Mon, Aug 30, 2010 at 9:14 AM, David Mintz <da...@davidmintz.org> wrote:
> Just wondering if there's a way for a controller to use $this->_getParam()
> directly to get a POST datum which itself is within an array. Like with a
> subform for example. So if you have $_POST['person']['email'] can you get at
> the email in one _getParam() call? Or do you have to
>      $person = $this->_getParam('person') ;
> and then work with $person['email'] ?
>
>
>
>
> --
> Support real health care reform:
> http://phimg.org/
>
> --
> David Mintz
> http://davidmintz.org/
>
>
>



-- 
Jordan Ryan Moore

Reply via email to