eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZTextCodec

class eZTextCodec

Methods

eZTextCodec($inputCharsetCode, $outputCharsetCode, $realInputCharsetCode, $realOutputCharsetCode, $inputEncoding, $outputEncoding)

initializeConversionFunction($encodingConvertInitMap, $encodingConvertInitFunction)

initializeCodepageMapper()

initializeInputCodepage()

initializeOutputCodepage()

conversionRequired()

setUseMBString($use)

useMBString()

requestedInputCharsetCode()

requestedOutputCharsetCode()

inputCharsetCode()

outputCharsetCode()

convertString($str)

strlen($str)

convertNoneToUnicode($str)

convertCodepageToUnicode($str)

convertUTF8ToUnicode($str)

convertUnicodeToCodepage($unicodeValues)

convertUnicodeToUTF8($unicodeValues)

convertNone($str)

convertCodepage($str)

convertCodepageRev($str)

convertCodepageMapper($str)

convertMBString($str)

strlenNone($str)

strlenUnicode($unicodeValues)

strlenCodepage($str)

strlenUTF8($str)

strlenCodepageRev($str)

strlenCodepageMapper($str)

strlenMBString($str)

Details

at line 24
public eZTextCodec($inputCharsetCode, $outputCharsetCode, $realInputCharsetCode, $realOutputCharsetCode, $inputEncoding, $outputEncoding)

Parameters

$inputCharsetCode
$outputCharsetCode
$realInputCharsetCode
$realOutputCharsetCode
$inputEncoding
$outputEncoding

at line 212
public initializeConversionFunction($encodingConvertInitMap, $encodingConvertInitFunction)

Parameters

$encodingConvertInitMap
$encodingConvertInitFunction

at line 234
public initializeCodepageMapper()

at line 240
public initializeInputCodepage()

at line 245
public initializeOutputCodepage()

at line 253
public conversionRequired()

at line 258
public setUseMBString($use)

Parameters

$use

at line 263
public useMBString()

at line 271
public requestedInputCharsetCode()

at line 276
public requestedOutputCharsetCode()

at line 281
public inputCharsetCode()

at line 286
public outputCharsetCode()

at line 291
public convertString($str)

Parameters

$str

at line 301
public strlen($str)

Parameters

$str

at line 310
public convertNoneToUnicode($str)

Parameters

$str

at line 315
public convertCodepageToUnicode($str)

Parameters

$str

at line 323
public convertUTF8ToUnicode($str)

Parameters

$str

at line 331
public convertUnicodeToCodepage($unicodeValues)

Parameters

$unicodeValues

at line 339
public convertUnicodeToUTF8($unicodeValues)

Parameters

$unicodeValues

at line 347
public convertNone($str)

Parameters

$str

at line 352
public convertCodepage($str)

Parameters

$str

at line 360
public convertCodepageRev($str)

Parameters

$str

at line 368
public convertCodepageMapper($str)

Parameters

$str

at line 376
public convertMBString($str)

Parameters

$str

at line 387
public strlenNone($str)

Parameters

$str

at line 392
public strlenUnicode($unicodeValues)

Parameters

$unicodeValues

at line 397
public strlenCodepage($str)

Parameters

$str

at line 402
public strlenUTF8($str)

Parameters

$str

at line 408
public strlenCodepageRev($str)

Parameters

$str

at line 413
public strlenCodepageMapper($str)

Parameters

$str

at line 418
public strlenMBString($str)

Parameters

$str