|
eZ Publish
[4.2]
|
The class eZMBStringMapper does. More...
Public Member Functions | |
| convertString ($str) | |
| eZMBStringMapper ($input_charset_code, $output_charset_code) | |
| inputCharsetCode () | |
| isCharsetSupported ($charset_code) | |
| outputCharsetCode () | |
| requestedInputCharsetCode () | |
| requestedOutputCharsetCode () | |
| setSubstituteCharacter ($char) | |
| strlen ($str) | |
| strpos ($haystack, $needle, $offset=0) | |
| strrpos ($haystack, $needle) | |
| substituteCharacter () | |
| substr ($str, $start, $length) | |
Static Public Member Functions | |
| static & | charsetList () |
| static | hasMBStringExtension () |
| static | instance ($input_charset_code, $output_charset_code) |
| Returns a shared instance of the eZMBStringMapper pr the $input_charset_code and $output_charset_code params. | |
The class eZMBStringMapper does.
The mbstring extension supports the following charset: UCS-4, UCS-4BE, UCS-4LE, UCS-2, UCS-2BE, UCS-2LE, UTF-32, UTF-32BE, UTF-32LE, UCS-2LE, UTF-16, UTF-16BE, UTF-16LE, UTF-8, UTF-7, ASCII, EUC-JP, SJIS, eucJP-win, SJIS-win, ISO-2022-JP, JIS, ISO-8859-1, ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9, ISO-8859-10, ISO-8859-13, ISO-8859-14, ISO-8859-15, byte2be, byte2le, byte4be, byte4le, BASE64, 7bit, 8bit and UTF7-IMAP.
Definition at line 47 of file ezmbstringmapper.php.
| static& eZMBStringMapper::charsetList | ( | ) | [static] |
Definition at line 77 of file ezmbstringmapper.php.
Referenced by isCharsetSupported().
| eZMBStringMapper::convertString | ( | $ | str | ) |
Definition at line 161 of file ezmbstringmapper.php.
| eZMBStringMapper::eZMBStringMapper | ( | $ | input_charset_code, |
| $ | output_charset_code | ||
| ) |
| static eZMBStringMapper::hasMBStringExtension | ( | ) | [static] |
true if the mbstring can be used. true. mb_convert_encoding mb_substitute_character mb_strcut mb_strlen mb_strpos mb_strrpos mb_strwidth mb_substr Definition at line 110 of file ezmbstringmapper.php.
Referenced by eZMBStringMapper().
| eZMBStringMapper::inputCharsetCode | ( | ) |
Definition at line 122 of file ezmbstringmapper.php.
| static eZMBStringMapper::instance | ( | $ | input_charset_code, |
| $ | output_charset_code | ||
| ) | [static] |
Returns a shared instance of the eZMBStringMapper pr the $input_charset_code and $output_charset_code params.
| $input_charset_code | string |
| $output_charset_code | string |
Definition at line 196 of file ezmbstringmapper.php.
| eZMBStringMapper::isCharsetSupported | ( | $ | charset_code | ) |
Definition at line 142 of file ezmbstringmapper.php.
Referenced by eZMBStringMapper().
| eZMBStringMapper::outputCharsetCode | ( | ) |
Definition at line 127 of file ezmbstringmapper.php.
| eZMBStringMapper::requestedInputCharsetCode | ( | ) |
Definition at line 132 of file ezmbstringmapper.php.
| eZMBStringMapper::requestedOutputCharsetCode | ( | ) |
Definition at line 137 of file ezmbstringmapper.php.
| eZMBStringMapper::setSubstituteCharacter | ( | $ | char | ) |
Definition at line 155 of file ezmbstringmapper.php.
| eZMBStringMapper::strlen | ( | $ | str | ) |
Definition at line 168 of file ezmbstringmapper.php.
| eZMBStringMapper::strpos | ( | $ | haystack, |
| $ | needle, | ||
| $ | offset = 0 |
||
| ) |
Definition at line 173 of file ezmbstringmapper.php.
| eZMBStringMapper::strrpos | ( | $ | haystack, |
| $ | needle | ||
| ) |
Definition at line 178 of file ezmbstringmapper.php.
| eZMBStringMapper::substituteCharacter | ( | ) |
Definition at line 148 of file ezmbstringmapper.php.
| eZMBStringMapper::substr | ( | $ | str, |
| $ | start, | ||
| $ | length | ||
| ) |
Definition at line 183 of file ezmbstringmapper.php.