[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/ -> Mime.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id$
File Size: 365 lines (13 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Mime:: (12 methods):
  isPrintable()
  encodeQuotedPrintable()
  _encodeQuotedPrintable()
  encodeQuotedPrintableHeader()
  getNextQuotedPrintableToken()
  encodeBase64Header()
  encodeBase64()
  __construct()
  encode()
  boundary()
  boundaryLine()
  mimeEnd()


Class: Zend_Mime  - X-Ref

Support class for MultiPart Mime Messages

isPrintable($str)   X-Ref
Check if the given string is "printable"

Checks that a string contains no unprintable characters. If this returns
false, encode the string for secure delivery.

param: string $str
return: boolean

encodeQuotedPrintable($str,$lineLength = self::LINELENGTH,$lineEnd = self::LINEEND)   X-Ref
Encode a given string with the QUOTED_PRINTABLE mechanism and wrap the lines.

param: string $str
param: int $lineLength Defaults to {@link LINELENGTH}
param: int $lineEnd Defaults to {@link LINEEND}
return: string

_encodeQuotedPrintable($str)   X-Ref
Converts a string into quoted printable format.

param: string $str
return: string

encodeQuotedPrintableHeader($str, $charset,$lineLength = self::LINELENGTH,$lineEnd = self::LINEEND)   X-Ref
Encode a given string with the QUOTED_PRINTABLE mechanism for Mail Headers.

Mail headers depend on an extended quoted printable algorithm otherwise
a range of bugs can occur.

param: string $str
param: string $charset
param: int $lineLength Defaults to {@link LINELENGTH}
param: int $lineEnd Defaults to {@link LINEEND}
return: string

getNextQuotedPrintableToken($str)   X-Ref
Retrieves the first token from a quoted printable string.

param: string $str
return: string

encodeBase64Header($str,$charset,$lineLength = self::LINELENGTH,$lineEnd = self::LINEEND)   X-Ref
Encode a given string in mail header compatible base64 encoding.

param: string $str
param: string $charset
param: int $lineLength Defaults to {@link LINELENGTH}
param: int $lineEnd Defaults to {@link LINEEND}
return: string

encodeBase64($str,$lineLength = self::LINELENGTH,$lineEnd = self::LINEEND)   X-Ref
Encode a given string in base64 encoding and break lines
according to the maximum linelength.

param: string $str
param: int $lineLength Defaults to {@link LINELENGTH}
param: int $lineEnd Defaults to {@link LINEEND}
return: string

__construct($boundary = null)   X-Ref
Constructor

param: null|string $boundary
return: void

encode($str, $encoding, $EOL = self::LINEEND)   X-Ref
Encode the given string with the given encoding.

param: string $str
param: string $encoding
param: string $EOL EOL string; defaults to {@link Zend_Mime::LINEEND}
return: string

boundary()   X-Ref
Return a MIME boundary

return: string

boundaryLine($EOL = self::LINEEND)   X-Ref
Return a MIME boundary line

param: mixed $EOL Defaults to {@link LINEEND}
return: string

mimeEnd($EOL = self::LINEEND)   X-Ref
Return MIME ending

return: string



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1