|
eZ Publish
[4.2]
|
Allows for quering information about charsets. More...
Static Public Member Functions | |
| static | characterEncodingScheme ($charsetCode, $isRealCharset=false) |
| static | realCharsetCode ($charsetCode) |
Static Private Member Functions | |
| static & | aliasTable () |
| static & | encodingTable () |
| static & | reverseEncodingTable () |
Allows for quering information about charsets.
A charset can be known by multiple names but the internationlization system only works with one name. To fetch the real internal name use the static realCharsetCode() function. Each charset also has a specific encoding scheme associated with it which can be fetched with characterEncodingScheme().
Definition at line 48 of file ezcharsetinfo.php.
| static& eZCharsetInfo::aliasTable | ( | ) | [static, private] |
Definition at line 55 of file ezcharsetinfo.php.
Referenced by realCharsetCode().
| static eZCharsetInfo::characterEncodingScheme | ( | $ | charsetCode, |
| $ | isRealCharset = false |
||
| ) | [static] |
Tries to figure out the character encoding scheme for the given character set. It uses realCharsetCode() to get the correct internal charset so any charset can be given to this function. Either returns the found encoding scheme or 'singlebyte' if no scheme was found.
Definition at line 232 of file ezcharsetinfo.php.
Referenced by eZCodePage\eZCodePage(), and eZTextCodec\instance().
| static& eZCharsetInfo::encodingTable | ( | ) | [static, private] |
Definition at line 168 of file ezcharsetinfo.php.
Referenced by reverseEncodingTable().
| static eZCharsetInfo::realCharsetCode | ( | $ | charsetCode | ) | [static] |
Tries to find an alias for the charset code and returns it. If no alias code could be find the original charset code is returned.
Definition at line 212 of file ezcharsetinfo.php.
Referenced by eZCodePage\cacheFileName(), characterEncodingScheme(), eZMySQLiDB\checkCharset(), eZMySQLDB\checkCharset(), eZMySQLiDB\checkCharsetPriv(), eZMySQLDB\checkCharsetPriv(), eZMySQLDB\connect(), eZMySQLiDB\connect(), eZObjectRelationListType\domString(), eZMatrix\domString(), eZCodePage\eZCodePage(), eZCodePageMapper\eZCodePageMapper(), eZMBStringMapper\eZMBStringMapper(), eZCodePage\fileName(), eZTextCodec\httpCharset(), eZTextCodec\instance(), eZTextCodec\internalCharset(), eZMail\isAllowedCharset(), eZMBStringMapper\isCharsetSupported(), eZCodeMapper\loadTransformationFiles(), eZMysqlSchema\tableCharsetName(), eZCharTransform\transform(), and eZCharTransform\transformByGroup().
| static& eZCharsetInfo::reverseEncodingTable | ( | ) | [static, private] |
Definition at line 191 of file ezcharsetinfo.php.
Referenced by characterEncodingScheme().