public function setSubmittedArray($key)
    {
        $value = $this->getSubmitted($key);

        if (isset($value) && is_string($value)) {
            $array = gplcart_string_explode_multiline($value);
            $this->setSubmitted($key, $array);
            return $array;
        }

        return array();
    }
public function setSubmittedArray($key)
    {
        $value = $this->getSubmitted($key);

        if (isset($value) && is_string($value)) {
            $array = gplcart_string_explode_multiline($value);
            $this->setSubmitted($key, $array);
            return $array;
        }

        return array();
    }
public function setSubmittedArray ( $ key ) { $ value = $ this -> getSubmitted ( $ key ) ; if ( isset ( $ value ) && is_string ( $ value ) ) { $ array = gplcart_string_explode_multiline ( $ value ) ; $ this -> setSubmitted ( $ key , $ array ) ; return $ array ; } return array ( ) ; }
Converts a submitted value to array using multiline delimiter
@param string|array $key
@return array
Converts a submitted value to array using multiline delimiter