Class

eZCodePageCodec

class eZCodePageCodec extends eZTextCodec

Properties

$CodePage

Methods

__construct($name)

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
toUnicode($str)

fromUnicode($str)

isValid()

codePage()

setCodePage($cp)

Details

at line 23
public __construct($name)

Parameters

$name

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

Parameters

$encodingConvertInitMap
$encodingConvertInitFunction

in eZTextCodec at line 242
public initializeCodepageMapper()

in eZTextCodec at line 248
public initializeInputCodepage()

in eZTextCodec at line 253
public initializeOutputCodepage()

in eZTextCodec at line 261
public conversionRequired()

in eZTextCodec at line 266
public setUseMBString($use)

Parameters

$use

in eZTextCodec at line 271
public useMBString()

in eZTextCodec at line 279
public requestedInputCharsetCode()

in eZTextCodec at line 284
public requestedOutputCharsetCode()

in eZTextCodec at line 289
public inputCharsetCode()

in eZTextCodec at line 294
public outputCharsetCode()

in eZTextCodec at line 299
public convertString($str)

Parameters

$str

in eZTextCodec at line 309
public strlen($str)

Parameters

$str

in eZTextCodec at line 318
public convertNoneToUnicode($str)

Parameters

$str

in eZTextCodec at line 323
public convertCodepageToUnicode($str)

Parameters

$str

in eZTextCodec at line 331
public convertUTF8ToUnicode($str)

Parameters

$str

in eZTextCodec at line 339
public convertUnicodeToCodepage($unicodeValues)

Parameters

$unicodeValues

in eZTextCodec at line 347
public convertUnicodeToUTF8($unicodeValues)

Parameters

$unicodeValues

in eZTextCodec at line 355
public convertNone($str)

Parameters

$str

in eZTextCodec at line 360
public convertCodepage($str)

Parameters

$str

in eZTextCodec at line 368
public convertCodepageRev($str)

Parameters

$str

in eZTextCodec at line 376
public convertCodepageMapper($str)

Parameters

$str

in eZTextCodec at line 384
public convertMBString($str)

Parameters

$str

in eZTextCodec at line 395
public strlenNone($str)

Parameters

$str

in eZTextCodec at line 400
public strlenUnicode($unicodeValues)

Parameters

$unicodeValues

in eZTextCodec at line 405
public strlenCodepage($str)

Parameters

$str

in eZTextCodec at line 410
public strlenUTF8($str)

Parameters

$str

in eZTextCodec at line 416
public strlenCodepageRev($str)

Parameters

$str

in eZTextCodec at line 421
public strlenCodepageMapper($str)

Parameters

$str

in eZTextCodec at line 426
public strlenMBString($str)

Parameters

$str

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