original_string: protected function getBoundary($boundary, $charSet, $contentType, $encoding)
      {
          $result = '';
          if ('' == $charSet) {
              $charSet = $this->CharSet;
          }
          if ('' == $contentType) {
              $contentType = $this->ContentType;
          }
          if ('' == $encoding) {
              $encoding = $this->Encoding;
          }
          $result .= $this->textLine('--' . $boundary);
          $result .= sprintf('Content-Type: %s; charset=%s', $contentType, $charSet);
          $result .= static::$LE;
          // RFC1341 part 5 says 7bit is assumed if not specified
          if ('7bit' != $encoding) {
              $result .= $this->headerLine('Content-Transfer-Encoding', $encoding);
          }
          $result .= static::$LE;
  
          return $result;
      }
code: protected function getBoundary($boundary, $charSet, $contentType, $encoding)
      {
          $result = '';
          if ('' == $charSet) {
              $charSet = $this->CharSet;
          }
          if ('' == $contentType) {
              $contentType = $this->ContentType;
          }
          if ('' == $encoding) {
              $encoding = $this->Encoding;
          }
          $result .= $this->textLine('--' . $boundary);
          $result .= sprintf('Content-Type: %s; charset=%s', $contentType, $charSet);
          $result .= static::$LE;
          // RFC1341 part 5 says 7bit is assumed if not specified
          if ('7bit' != $encoding) {
              $result .= $this->headerLine('Content-Transfer-Encoding', $encoding);
          }
          $result .= static::$LE;
  
          return $result;
      }
code_tokens: protected function getBoundary ( $ boundary , $ charSet , $ contentType , $ encoding ) { $ result = '' ; if ( '' == $ charSet ) { $ charSet = $ this -> CharSet ; } if ( '' == $ contentType ) { $ contentType = $ this -> ContentType ; } if ( '' == $ encoding ) { $ encoding = $ this -> Encoding ; } $ result .= $ this -> textLine ( '--' . $ boundary ) ; $ result .= sprintf ( 'Content-Type: %s; charset=%s' , $ contentType , $ charSet ) ; $ result .= static :: $ LE ; // RFC1341 part 5 says 7bit is assumed if not specified if ( '7bit' != $ encoding ) { $ result .= $ this -> headerLine ( 'Content-Transfer-Encoding' , $ encoding ) ; } $ result .= static :: $ LE ; return $ result ; }
docstring: Return the start of a message boundary.
  
  @param string $boundary
  @param string $charSet
  @param string $contentType
  @param string $encoding
  
  @return string
docstring_tokens: Return the start of a message boundary .