Overview

Packages

  • Jyxo_Beholder
  • Jyxo_Charset
  • Jyxo_Color
  • Jyxo_Css
  • Jyxo_ErrorHandling
  • Jyxo_FirePhp
  • Jyxo_Gettext
    • Parser
  • Jyxo_Html
  • Jyxo_Input
    • Chain
    • Filter
    • Validator
  • Jyxo_Mail
    • Email
    • Parser
    • Sender
  • Jyxo_Rpc
    • Json
    • Xml
  • Jyxo_Shell
  • Jyxo_SpamFilter
  • Jyxo_Spl
  • Jyxo_String
  • Jyxo_Svn
  • Jyxo_Time
  • Jyxo_Timer
  • Jyxo_Webdav
  • Jyxo_XmlReader
  • PHP

Classes

  • Jyxo_Mail_Encoding
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Class Jyxo_Mail_Encoding

List of possible content encodings.

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