public function setSubmittedMapped(array $map, $params = null, array $default = array())
    {
        $mapped = $this->mapParams($map, $params);
        $merged = gplcart_array_merge($default, $mapped);

        return $this->setSubmitted(null, $merged);
    }
public function setSubmittedMapped(array $map, $params = null, array $default = array())
    {
        $mapped = $this->mapParams($map, $params);
        $merged = gplcart_array_merge($default, $mapped);

        return $this->setSubmitted(null, $merged);
    }
public function setSubmittedMapped ( array $ map , $ params = null , array $ default = array ( ) ) { $ mapped = $ this -> mapParams ( $ map , $ params ) ; $ merged = gplcart_array_merge ( $ default , $ mapped ) ; return $ this -> setSubmitted ( null , $ merged ) ; }
Sets an array of submitted mapped data
@param array $map
@param null|array $params
@param array $default
@return array
Sets an array of submitted mapped data