eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZCodePageCodec

class eZCodePageCodec extends eZTextCodec

Properties

$CodePage

Methods

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

from eZTextCodec
initializeConversionFunction($encodingConvertInitMap, $encodingConvertInitFunction)

from eZTextCodec
initializeCodepageMapper()

from eZTextCodec
initializeInputCodepage()

from eZTextCodec
initializeOutputCodepage()

from eZTextCodec
conversionRequired()

from eZTextCodec
setUseMBString($use)

from eZTextCodec
useMBString()

from eZTextCodec
requestedInputCharsetCode()

from eZTextCodec
requestedOutputCharsetCode()

from eZTextCodec
inputCharsetCode()

from eZTextCodec
outputCharsetCode()

from eZTextCodec
convertString($str)

from eZTextCodec
strlen($str)

from eZTextCodec
convertNoneToUnicode($str)

from eZTextCodec
convertCodepageToUnicode($str)

from eZTextCodec
convertUTF8ToUnicode($str)

from eZTextCodec
convertUnicodeToCodepage($unicodeValues)

from eZTextCodec
convertUnicodeToUTF8($unicodeValues)

from eZTextCodec
convertNone($str)

from eZTextCodec
convertCodepage($str)

from eZTextCodec
convertCodepageRev($str)

from eZTextCodec
convertCodepageMapper($str)

from eZTextCodec
convertMBString($str)

from eZTextCodec
strlenNone($str)

from eZTextCodec
strlenUnicode($unicodeValues)

from eZTextCodec
strlenCodepage($str)

from eZTextCodec
strlenUTF8($str)

from eZTextCodec
strlenCodepageRev($str)

from eZTextCodec
strlenCodepageMapper($str)

from eZTextCodec
strlenMBString($str)

from eZTextCodec
eZCodePageCodec($name)

toUnicode($str)

fromUnicode($str)

isValid()

codePage()

setCodePage($cp)

Details

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

Parameters

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

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

Parameters

$encodingConvertInitMap
$encodingConvertInitFunction

in eZTextCodec at line 234
public initializeCodepageMapper()

in eZTextCodec at line 240
public initializeInputCodepage()

in eZTextCodec at line 245
public initializeOutputCodepage()

in eZTextCodec at line 253
public conversionRequired()

in eZTextCodec at line 258
public setUseMBString($use)

Parameters

$use

in eZTextCodec at line 263
public useMBString()

in eZTextCodec at line 271
public requestedInputCharsetCode()

in eZTextCodec at line 276
public requestedOutputCharsetCode()

in eZTextCodec at line 281
public inputCharsetCode()

in eZTextCodec at line 286
public outputCharsetCode()

in eZTextCodec at line 291
public convertString($str)

Parameters

$str

in eZTextCodec at line 301
public strlen($str)

Parameters

$str

in eZTextCodec at line 310
public convertNoneToUnicode($str)

Parameters

$str

in eZTextCodec at line 315
public convertCodepageToUnicode($str)

Parameters

$str

in eZTextCodec at line 323
public convertUTF8ToUnicode($str)

Parameters

$str

in eZTextCodec at line 331
public convertUnicodeToCodepage($unicodeValues)

Parameters

$unicodeValues

in eZTextCodec at line 339
public convertUnicodeToUTF8($unicodeValues)

Parameters

$unicodeValues

in eZTextCodec at line 347
public convertNone($str)

Parameters

$str

in eZTextCodec at line 352
public convertCodepage($str)

Parameters

$str

in eZTextCodec at line 360
public convertCodepageRev($str)

Parameters

$str

in eZTextCodec at line 368
public convertCodepageMapper($str)

Parameters

$str

in eZTextCodec at line 376
public convertMBString($str)

Parameters

$str

in eZTextCodec at line 387
public strlenNone($str)

Parameters

$str

in eZTextCodec at line 392
public strlenUnicode($unicodeValues)

Parameters

$unicodeValues

in eZTextCodec at line 397
public strlenCodepage($str)

Parameters

$str

in eZTextCodec at line 402
public strlenUTF8($str)

Parameters

$str

in eZTextCodec at line 408
public strlenCodepageRev($str)

Parameters

$str

in eZTextCodec at line 413
public strlenCodepageMapper($str)

Parameters

$str

in eZTextCodec at line 418
public strlenMBString($str)

Parameters

$str

at line 23
public eZCodePageCodec($name)

Parameters

$name

at line 29
public toUnicode($str)

Parameters

$str

at line 46
public fromUnicode($str)

Parameters

$str

at line 71
public isValid()

at line 79
public codePage()

at line 87
public setCodePage($cp)

Parameters

$cp