|
eZ Publish
[trunk]
|
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 24 of file ezmbstringmapper.php.
| static& eZMBStringMapper::charsetList | ( | ) | [static] |
Definition at line 54 of file ezmbstringmapper.php.
Referenced by eZSetupMBStringExtension(), and isCharsetSupported().
| eZMBStringMapper::convertString | ( | $ | str | ) |
Definition at line 138 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 87 of file ezmbstringmapper.php.
Referenced by eZMBStringMapper(), and eZSetupMBStringExtension().
Definition at line 99 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.
| string | $input_charset_code | |
| string | $output_charset_code |
Definition at line 173 of file ezmbstringmapper.php.
| eZMBStringMapper::isCharsetSupported | ( | $ | charset_code | ) |
Definition at line 119 of file ezmbstringmapper.php.
Referenced by eZMBStringMapper().
Definition at line 104 of file ezmbstringmapper.php.
Definition at line 109 of file ezmbstringmapper.php.
Definition at line 114 of file ezmbstringmapper.php.
| eZMBStringMapper::setSubstituteCharacter | ( | $ | char | ) |
Definition at line 132 of file ezmbstringmapper.php.
| eZMBStringMapper::strlen | ( | $ | str | ) |
Definition at line 145 of file ezmbstringmapper.php.
| eZMBStringMapper::strpos | ( | $ | haystack, |
| $ | needle, | ||
| $ | offset = 0 |
||
| ) |
Definition at line 150 of file ezmbstringmapper.php.
| eZMBStringMapper::strrpos | ( | $ | haystack, |
| $ | needle | ||
| ) |
Definition at line 155 of file ezmbstringmapper.php.
Definition at line 125 of file ezmbstringmapper.php.
| eZMBStringMapper::substr | ( | $ | str, |
| $ | start, | ||
| $ | length | ||
| ) |
Definition at line 160 of file ezmbstringmapper.php.