lib/classes/Swift/Mime/Headers/ParameterizedHeader.php
private function getEndOfParameterValue($value, $encoded = false, $firstLine = false)
    {
        if (!preg_match('/^'.self::TOKEN_REGEX.'$/D', $value)) {
            $value = '"'.$value.'"';
        }
        $prepend = '=';
        if ($encoded) {
            $prepend = '*=';
            if ($firstLine) {
                $prepend = '*='.$this->getCharset()."'".$this->getLanguage().
                    "'";
            }
        }

        return $prepend.$value;
    }
private function getEndOfParameterValue($value, $encoded = false, $firstLine = false)
    {
        if (!preg_match('/^'.self::TOKEN_REGEX.'$/D', $value)) {
            $value = '"'.$value.'"';
        }
        $prepend = '=';
        if ($encoded) {
            $prepend = '*=';
            if ($firstLine) {
                $prepend = '*='.$this->getCharset()."'".$this->getLanguage().
                    "'";
            }
        }

        return $prepend.$value;
    }
private function getEndOfParameterValue ( $ value , $ encoded = false , $ firstLine = false ) { if ( ! preg_match ( '/^' . self :: TOKEN_REGEX . '$/D' , $ value ) ) { $ value = '"' . $ value . '"' ; } $ prepend = '=' ; if ( $ encoded ) { $ prepend = '*=' ; if ( $ firstLine ) { $ prepend = '*=' . $ this -> getCharset ( ) . "'" . $ this -> getLanguage ( ) . "'" ; } } return $ prepend . $ value ; }
Returns the parameter value from the "=" and beyond.

@param string $value     to append
@param bool   $encoded
@param bool   $firstLine

@return string
Returns the parameter value from the = and beyond .