PHP Class Horde_Imap_Client_Utf7imap, horde

Author: Michael Slusarz ([email protected])
Mostrar archivo Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_mbstring array Is mbstring extension available?

Public Methods

Method Description
Utf7ImapToUtf8 ( string $str ) : string Convert a string from UTF7-IMAP to UTF-8.
Utf8ToUtf7Imap ( string $str, boolean $force = true ) : string Convert a string from UTF-8 to UTF7-IMAP.

Method Details

Utf7ImapToUtf8() public static method

Convert a string from UTF7-IMAP to UTF-8.
public static Utf7ImapToUtf8 ( string $str ) : string
$str string The UTF7-IMAP string.
return string The converted UTF-8 string.

Utf8ToUtf7Imap() public static method

Convert a string from UTF-8 to UTF7-IMAP.
public static Utf8ToUtf7Imap ( string $str, boolean $force = true ) : string
$str string The UTF-8 string.
$force boolean Assume $str is UTF-8 (no-autodetection)? If false, attempts to auto-detect if string is already in UTF7-IMAP.
return string The converted UTF7-IMAP string.

Property Details

$_mbstring protected_oe static_oe property

Is mbstring extension available?
protected static array $_mbstring
return array