PHP Class Horde_Imap_Client_Utf7imap, horde

Author: Michael Slusarz ([email protected])
Afficher le fichier Open project: horde/horde Class Usage Examples

Protected Properties

Свойство Type Description
$_mbstring array Is mbstring extension available?

Méthodes publiques

Méthode 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 méthode

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

Utf8ToUtf7Imap() public static méthode

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.
Résultat string The converted UTF7-IMAP string.

Property Details

$_mbstring protected_oe static_oe property

Is mbstring extension available?
protected static array $_mbstring
Résultat array