eZ Publish  [4.2]
eZCodePageMapper Class Reference

The class eZCodePageMapper does. More...

List of all members.

Public Member Functions

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

Static Public Member Functions

static instance ($input_charset_code, $output_charset_code, $use_cache=true)
 Returns a shared instance of the eZCodePageMapper pr the $input_charset_code and $output_charset_code params.

Public Attributes

const CACHE_CODE_DATE = 1026316422

Detailed Description

The class eZCodePageMapper does.

Definition at line 40 of file ezcodepagemapper.php.


Member Function Documentation

eZCodePageMapper::convertString ( str)

Definition at line 104 of file ezcodepagemapper.php.

eZCodePageMapper::eZCodePageMapper ( input_charset_code,
output_charset_code,
use_cache = true 
)

Constructor

Definition at line 47 of file ezcodepagemapper.php.

Referenced by instance().

static eZCodePageMapper::instance ( input_charset_code,
output_charset_code,
use_cache = true 
) [static]

Returns a shared instance of the eZCodePageMapper pr the $input_charset_code and $output_charset_code params.

Parameters:
$input_charset_codestring
$output_charset_codestring
$use_cachebool
Returns:
eZCodePageMapper

Definition at line 245 of file ezcodepagemapper.php.

Referenced by load(), and setSubstituteCharacter().

eZCodePageMapper::isValid ( )

Definition at line 58 of file ezcodepagemapper.php.

eZCodePageMapper::load ( use_cache = true)

Definition at line 155 of file ezcodepagemapper.php.

Referenced by eZCodePageMapper().

eZCodePageMapper::mapInputChar ( in_char)

Definition at line 79 of file ezcodepagemapper.php.

Referenced by convertString().

& eZCodePageMapper::mapInputCode ( in_code)

Definition at line 63 of file ezcodepagemapper.php.

eZCodePageMapper::mapOutputChar ( out_char)

Definition at line 87 of file ezcodepagemapper.php.

& eZCodePageMapper::mapOutputCode ( out_code)

Definition at line 71 of file ezcodepagemapper.php.

eZCodePageMapper::setSubstituteCharacter ( char_code)

Definition at line 136 of file ezcodepagemapper.php.

Referenced by eZCodePageMapper().

eZCodePageMapper::strlen ( str)

Definition at line 116 of file ezcodepagemapper.php.

Referenced by convertString().

eZCodePageMapper::strpos ( haystack,
needle,
offset = 0 
)

Definition at line 121 of file ezcodepagemapper.php.

eZCodePageMapper::strrpos ( haystack,
needle 
)

Definition at line 126 of file ezcodepagemapper.php.

eZCodePageMapper::substituteCharacter ( )

Definition at line 99 of file ezcodepagemapper.php.

eZCodePageMapper::substituteCharacterFor ( char)

Definition at line 95 of file ezcodepagemapper.php.

eZCodePageMapper::substr ( str,
start,
length 
)

Definition at line 131 of file ezcodepagemapper.php.


Member Data Documentation

Definition at line 42 of file ezcodepagemapper.php.


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