Class

eZCodePageMapper

class eZCodePageMapper

Constants

CACHE_CODE_DATE

Methods

__construct(string $input_charset_code, string $output_charset_code, bool $use_cache = true)

Constructor

isValid()

mapInputCode($in_code)

mapOutputCode($out_code)

mapInputChar($in_char)

mapOutputChar($out_char)

substituteCharacterFor($char)

substituteCharacter()

convertString($str)

strlen($str)

strpos($haystack, $needle, $offset)

strrpos($haystack, $needle)

substr($str, $start, $length)

setSubstituteCharacter($char_code)

load($use_cache = true)

Details

at line 28
public __construct(string $input_charset_code, string $output_charset_code, bool $use_cache = true)

Constructor

Parameters

string $input_charset_code
string $output_charset_code
bool $use_cache

at line 39
public isValid()

at line 44
public mapInputCode($in_code)

Parameters

$in_code

at line 52
public mapOutputCode($out_code)

Parameters

$out_code

at line 60
public mapInputChar($in_char)

Parameters

$in_char

at line 68
public mapOutputChar($out_char)

Parameters

$out_char

at line 76
public substituteCharacterFor($char)

Parameters

$char

at line 80
public substituteCharacter()

at line 85
public convertString($str)

Parameters

$str

at line 97
public strlen($str)

Parameters

$str

at line 102
public strpos($haystack, $needle, $offset)

Parameters

$haystack
$needle
$offset

at line 107
public strrpos($haystack, $needle)

Parameters

$haystack
$needle

at line 112
public substr($str, $start, $length)

Parameters

$str
$start
$length

at line 117
public setSubstituteCharacter($char_code)

Parameters

$char_code

at line 136
public load($use_cache = true)

Parameters

$use_cache