lib/ezi18n/classes/ezcodepagecodec.php
File containing the eZCodePageCodec class.
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Package
- lib
- Version
- 4.6.0
\eZCodePageCodec
Package: lib
File containing the eZCodePageCodec class.
- Parent(s)
- \eZTextCodec
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Version
- 4.6.0
Properties
Methods


convertCodepage(
$str
)
:
void
inherited
Inherited from:
\eZTextCodec::convertCodepage()
Parameters
Name | Type | Description |
---|---|---|
$str |


convertCodepageMapper(
$str
)
:
void
inherited
Inherited from:
\eZTextCodec::convertCodepageMapper()
Parameters
Name | Type | Description |
---|---|---|
$str |


convertCodepageRev(
$str
)
:
void
inherited
Inherited from:
\eZTextCodec::convertCodepageRev()
Parameters
Name | Type | Description |
---|---|---|
$str |


convertCodepageToUnicode(
$str
)
:
void
inherited
Inherited from:
\eZTextCodec::convertCodepageToUnicode()
Parameters
Name | Type | Description |
---|---|---|
$str |


convertMBString(
$str
)
:
void
inherited
Inherited from:
\eZTextCodec::convertMBString()
Parameters
Name | Type | Description |
---|---|---|
$str |


convertNone(
$str
)
:
void
inherited
Inherited from:
\eZTextCodec::convertNone()
Parameters
Name | Type | Description |
---|---|---|
$str |


convertNoneToUnicode(
$str
)
:
void
inherited
Inherited from:
\eZTextCodec::convertNoneToUnicode()
Parameters
Name | Type | Description |
---|---|---|
$str |


convertString(
$str
)
:
void
inherited
Inherited from:
\eZTextCodec::convertString()
Parameters
Name | Type | Description |
---|---|---|
$str |


convertUTF8ToUnicode(
$str
)
:
void
inherited
Inherited from:
\eZTextCodec::convertUTF8ToUnicode()
Parameters
Name | Type | Description |
---|---|---|
$str |


convertUnicodeToCodepage(
$unicodeValues
)
:
void
inherited
Inherited from:
\eZTextCodec::convertUnicodeToCodepage()
Parameters
Name | Type | Description |
---|---|---|
$unicodeValues |


convertUnicodeToUTF8(
$unicodeValues
)
:
void
inherited
Inherited from:
\eZTextCodec::convertUnicodeToUTF8()
Parameters
Name | Type | Description |
---|---|---|
$unicodeValues |


eZTextCodec(
$inputCharsetCode, $outputCharsetCode, $realInputCharsetCode, $realOutputCharsetCode, $inputEncoding, $outputEncoding
)
:
void
inherited
Inherited from:
\eZTextCodec::eZTextCodec()
Parameters
Name | Type | Description |
---|---|---|
$inputCharsetCode | ||
$outputCharsetCode | ||
$realInputCharsetCode | ||
$realOutputCharsetCode | ||
$inputEncoding | ||
$outputEncoding |


initializeCodepageMapper(
)
:
void
inherited
Inherited from:
\eZTextCodec::initializeCodepageMapper()


initializeConversionFunction(
$encodingConvertInitMap, $encodingConvertInitFunction
)
:
void
inherited
Inherited from:
\eZTextCodec::initializeConversionFunction()
Parameters
Name | Type | Description |
---|---|---|
$encodingConvertInitMap | ||
$encodingConvertInitFunction |


initializeOutputCodepage(
)
:
void
inherited
Inherited from:
\eZTextCodec::initializeOutputCodepage()


instance(
string | false $inputCharsetCode, string | false $outputCharsetCode
=
false, bool $alwaysReturn
=
true
)
:
\eZTextCodec | null
staticinherited
Returns a shared instance of the eZTextCodec pr the $inputCharsetCode and $outputCharsetCode params.
Inherited from: \eZTextCodec::instance()
Parameters
Returns
Name | Type | Description |
---|---|---|
$inputCharsetCode | string | false | Uses {@link eZTextCodec::internalCharset()} if false |
$outputCharsetCode | string | false | Uses {@link eZTextCodec::internalCharset()} if false |
$alwaysReturn | bool |
Type | Description |
---|---|
\eZTextCodec | null | Returns null if $alwaysReturn is false and text codec is not needed for current $inputCharsetCode and $outputCharsetCode. |


requestedInputCharsetCode(
)
:
void
inherited
Inherited from:
\eZTextCodec::requestedInputCharsetCode()


requestedOutputCharsetCode(
)
:
void
inherited
Inherited from:
\eZTextCodec::requestedOutputCharsetCode()


setUseMBString(
$use
)
:
void
inherited
Inherited from:
\eZTextCodec::setUseMBString()
Parameters
Name | Type | Description |
---|---|---|
$use |


strlen(
$str
)
:
void
inherited
Inherited from:
\eZTextCodec::strlen()
Parameters
Name | Type | Description |
---|---|---|
$str |


strlenCodepage(
$str
)
:
void
inherited
Inherited from:
\eZTextCodec::strlenCodepage()
Parameters
Name | Type | Description |
---|---|---|
$str |


strlenCodepageMapper(
$str
)
:
void
inherited
Inherited from:
\eZTextCodec::strlenCodepageMapper()
Parameters
Name | Type | Description |
---|---|---|
$str |


strlenCodepageRev(
$str
)
:
void
inherited
Inherited from:
\eZTextCodec::strlenCodepageRev()
Parameters
Name | Type | Description |
---|---|---|
$str |


strlenMBString(
$str
)
:
void
inherited
Inherited from:
\eZTextCodec::strlenMBString()
Parameters
Name | Type | Description |
---|---|---|
$str |


strlenNone(
$str
)
:
void
inherited
Inherited from:
\eZTextCodec::strlenNone()
Parameters
Name | Type | Description |
---|---|---|
$str |


strlenUTF8(
$str
)
:
void
inherited
Inherited from:
\eZTextCodec::strlenUTF8()
Parameters
Name | Type | Description |
---|---|---|
$str |


strlenUnicode(
$unicodeValues
)
:
void
inherited
Inherited from:
\eZTextCodec::strlenUnicode()
Parameters
Name | Type | Description |
---|---|---|
$unicodeValues |