Overview

Namespaces

  • Jyxo
    • Beholder
      • TestCase
    • Gettext
      • Parser
    • Input
      • Chain
      • Filter
      • Validator
    • Mail
      • Email
        • Attachment
      • Parser
      • Sender
    • Rpc
      • Json
      • Xml
    • Shell
    • Spl
    • Svn
    • Time
    • Webdav
  • PHP

Classes

  • Email
  • Encoding
  • Parser
  • Sender
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated

Class Encoding

List of possible content encodings.

Namespace: Jyxo\Mail
Category: Jyxo
Package: Jyxo\Mail
Copyright: Copyright (c) 2005-2011 Jyxo, s.r.o.
License: https://github.com/jyxo/php/blob/master/license.txt
Author: Jaroslav HanslĂ­k
Located at Mail/Encoding.php
Methods summary
final public
# __construct( )

Constructor preventing from creating instances.

Constructor preventing from creating instances.

Throws

LogicException
When trying to create an instance
public static boolean
# isCompatible( string $encoding )

Checks if the given encoding is compatible.

Checks if the given encoding is compatible.

Parameters

$encoding
string
Encoding name

Returns

boolean
public static string
# encode( string $string, string $encoding, integer $lineLength, string $lineEnd )

Encodes a string using the given encoding.

Encodes a string using the given encoding.

Parameters

$string
string
Input string
$encoding
string
Encoding name
$lineLength
integer
Line length
$lineEnd
string
Line ending

Returns

string

Throws

InvalidArgumentException
If an incompatible encoding was provided
Constants summary
string BIT8 '8bit'
#

8-bit encoding.

8-bit encoding.

string BIT7 '7bit'
#

7-bit encoding.

7-bit encoding.

string BINARY 'binary'
#

Binary encoding.

Binary encoding.

string BASE64 'base64'
#

Base64 encoding.

Base64 encoding.

string QUOTED_PRINTABLE 'quoted-printable'
#

Quoted printable encoding.

Quoted printable encoding.

Jyxo PHP Library API documentation generated by ApiGen 2.3.0