original_string: 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();
      }
code: 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();
      }
code_tokens: 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 ( ) ; }
docstring: Converts a submitted value to array using multiline delimiter
  @param string|array $key
  @return array
docstring_tokens: Converts a submitted value to array using multiline delimiter