eZPublish  3.8
eZCodePageMapper Class Reference

The class eZCodePageMapper does. More...

Public Member Functions

 convertString ($str)
 
 eZCodePageMapper ($input_charset_code, $output_charset_code, $use_cache=true)
 
instance ($input_charset_code, $output_charset_code, $use_cache=true)
 
 isValid ()
 
 load ($use_cache=true)
 
 mapInputChar ($in_char)
 
mapInputCode ($in_code)
 
 mapOutputChar ($out_char)
 
mapOutputCode ($out_code)
 
 setSubstituteCharacter ($char_code)
 
 strlen ($str)
 
 strpos ($haystack, $needle, $offset=0)
 
 strrpos ($haystack, $needle)
 
 substituteCharacter ()
 
 substituteCharacterFor ($char)
 
 substr ($str, $start, $length)
 

Detailed Description

The class eZCodePageMapper does.

Member Function Documentation

eZCodePageMapper::convertString (   $str)
eZCodePageMapper::eZCodePageMapper (   $input_charset_code,
  $output_charset_code,
  $use_cache = true 
)

Constructor

Referenced by instance().

& eZCodePageMapper::instance (   $input_charset_code,
  $output_charset_code,
  $use_cache = true 
)

Returns the only instance of the codepage mapper for $input_charset_code and $output_charset_code.

eZCodePageMapper::isValid ( )
eZCodePageMapper::load (   $use_cache = true)

Referenced by eZCodePageMapper().

eZCodePageMapper::mapInputChar (   $in_char)

Referenced by convertString().

& eZCodePageMapper::mapInputCode (   $in_code)
eZCodePageMapper::mapOutputChar (   $out_char)
& eZCodePageMapper::mapOutputCode (   $out_code)
eZCodePageMapper::setSubstituteCharacter (   $char_code)

Referenced by eZCodePageMapper().

eZCodePageMapper::strlen (   $str)

Referenced by convertString().

eZCodePageMapper::strpos (   $haystack,
  $needle,
  $offset = 0 
)
eZCodePageMapper::strrpos (   $haystack,
  $needle 
)
eZCodePageMapper::substituteCharacter ( )
eZCodePageMapper::substituteCharacterFor (   $char)
eZCodePageMapper::substr (   $str,
  $start,
  $length 
)

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