_getParam() only gets the top-level value, so you'll need to get the full
array first. But you can create an action helper that adds that
functionality if you need it on a regular basis.

--
Hector Virgen
Sent from my Droid X

On Aug 30, 2010 9:14 AM, "David Mintz" <[email protected]> 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/

Reply via email to