eZPublish  3.8
eZCodePageCodec Class Reference

The class eZCodePageCodec does. More...

+ Inheritance diagram for eZCodePageCodec:
+ Collaboration diagram for eZCodePageCodec:

Public Member Functions

codePage ()
 eZCodePageCodec ($name)
fromUnicode ($str)
 isValid ()
 setCodePage (&$cp)
toUnicode ($str)
- Public Member Functions inherited from eZTextCodec
 conversionRequired ()
 convertCodepage ($str)
 convertCodepageMapper ($str)
 convertCodepageRev ($str)
 convertCodepageToUnicode ($str)
 convertMBString ($str)
 convertNone ($str)
 convertNoneToUnicode ($str)
 convertString ($str)
 convertUnicodeToCodepage ($unicodeValues)
 convertUnicodeToUTF8 ($unicodeValues)
 convertUTF8ToUnicode ($str)
 eZTextCodec ($inputCharsetCode, $outputCharsetCode, $realInputCharsetCode, $realOutputCharsetCode, $inputEncoding, $outputEncoding)
 initializeCodepageMapper ()
 initializeConversionFunction ($encodingConvertInitMap, $encodingConvertInitFunction)
 initializeInputCodepage ()
 initializeOutputCodepage ()
 inputCharsetCode ()
 outputCharsetCode ()
 requestedInputCharsetCode ()
 requestedOutputCharsetCode ()
 setUseMBString ($use)
 strlen ($str)
 strlenCodepage ($str)
 strlenCodepageMapper ($str)
 strlenCodepageRev ($str)
 strlenMBString ($str)
 strlenNone ($str)
 strlenUnicode ($unicodeValues)
 strlenUTF8 ($str)
 useMBString ()

Public Attributes


Additional Inherited Members

- Static Public Member Functions inherited from eZTextCodec
 httpCharset ()
instance ($inputCharsetCode, $outputCharsetCode=false, $alwaysReturn=true)
 internalCharset ()
 updateSettings ($settings)

Detailed Description

The class eZCodePageCodec does.

Member Function Documentation

& eZCodePageCodec::codePage ( )

Returns the codepage.

eZCodePageCodec::eZCodePageCodec (   $name)

Initializes the codepage codec with $name

& eZCodePageCodec::fromUnicode (   $str)
eZCodePageCodec::isValid ( )

Returns true if a codepage has been set.

Referenced by fromUnicode(), and toUnicode().

eZCodePageCodec::setCodePage ( $cp)

Sets the current codepage which is used for utf8/text translation.

& eZCodePageCodec::toUnicode (   $str)

Member Data Documentation


Referenced by codePage().

The documentation for this class was generated from the following file: