eZ Publish  [trunk]
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 17 of file ezcodepagemapper.php.


Member Function Documentation

Definition at line 81 of file ezcodepagemapper.php.

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

Constructor

Definition at line 24 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:
string$input_charset_code
string$output_charset_code
bool$use_cache
Returns:
eZCodePageMapper

Definition at line 222 of file ezcodepagemapper.php.

Referenced by load(), and setSubstituteCharacter().

Definition at line 35 of file ezcodepagemapper.php.

eZCodePageMapper::load ( use_cache = true)

Definition at line 132 of file ezcodepagemapper.php.

Referenced by eZCodePageMapper().

Definition at line 56 of file ezcodepagemapper.php.

Referenced by convertString().

Definition at line 40 of file ezcodepagemapper.php.

Definition at line 64 of file ezcodepagemapper.php.

Definition at line 48 of file ezcodepagemapper.php.

Definition at line 113 of file ezcodepagemapper.php.

Referenced by eZCodePageMapper().

Definition at line 93 of file ezcodepagemapper.php.

Referenced by convertString().

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

Definition at line 98 of file ezcodepagemapper.php.

eZCodePageMapper::strrpos ( haystack,
needle 
)

Definition at line 103 of file ezcodepagemapper.php.

Definition at line 72 of file ezcodepagemapper.php.

eZCodePageMapper::substr ( str,
start,
length 
)

Definition at line 108 of file ezcodepagemapper.php.


Member Data Documentation

Definition at line 19 of file ezcodepagemapper.php.


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