original_string: protected function _escapeParams($params)
      {
          foreach ($params as $k => $v) {
              foreach (str_split($v) as $c) {
                  if (!Horde_Mime_ContentParam_Decode::isAtextNonTspecial($c)) {
                      $params[$k] = '"' . addcslashes($v, '\\"') . '"';
                      break;
                  }
              }
          }
  
          return $params;
      }
code: protected function _escapeParams($params)
      {
          foreach ($params as $k => $v) {
              foreach (str_split($v) as $c) {
                  if (!Horde_Mime_ContentParam_Decode::isAtextNonTspecial($c)) {
                      $params[$k] = '"' . addcslashes($v, '\\"') . '"';
                      break;
                  }
              }
          }
  
          return $params;
      }
code_tokens: protected function _escapeParams ( $ params ) { foreach ( $ params as $ k => $ v ) { foreach ( str_split ( $ v ) as $ c ) { if ( ! Horde_Mime_ContentParam_Decode :: isAtextNonTspecial ( $ c ) ) { $ params [ $ k ] = '"' . addcslashes ( $ v , '\\"' ) . '"' ; break ; } } } return $ params ; }
docstring: Escape the parameter array.
  
  @param array $params  Parameter array.
  
  @return array  Escaped parameter array.
docstring_tokens: Escape the parameter array .