Class

eZCodeMapper

class eZCodeMapper

Constants

TYPE_DIRECT

TYPE_RANGE

TYPE_REPLACE

Properties

$TransformationTables
$TransformationFiles
$ISOUnicodeCodec

Methods

__construct()

mappingTable($identifier)

ruleNames()

error($text, $position = false)

warning($text, $position = false)

isTranformationLoaded($name)

loadTransformationFiles($currentCharset, $transformationGroup)

parseTransformationFile($filename, $name)

appendDirectMapping($block, $identifier, $sourceValue, $destinationValues)

appendReplaceMapping($block, $identifier, $sourceValue, $sourceEndValue, $destinationValues)

appendTransposeMapping($block, $identifier, $sourceValue, $sourceEndValue, $transposeValue, $addValue, $moduloValue)

extractUnicodeValue($data)

extractUnicodeValues($data)

expandInheritance($table)

ordinalValues($table, $list)

mapOrdinals($table, $ordinals)

generateSimpleMappingTable($table, $allowedRanges)

generateMappingCode($identifier)

generateCharsetMappingTable($unicodeTable, $charset)

decodeCommand($name, $parameters)

generateCommandCode($command, $charsetName)

executeCommandCode($text, $command, $charsetName)

nonCJKCharsets()

Details

at line 24
public __construct()

at line 33
public mappingTable($identifier)

Parameters

$identifier

at line 43
public ruleNames()

at line 51
public error($text, $position = false)

Parameters

$text
$position

at line 75
public warning($text, $position = false)

Parameters

$text
$position

at line 99
public isTranformationLoaded($name)

Parameters

$name

at line 112
public loadTransformationFiles($currentCharset, $transformationGroup)

Parameters

$currentCharset
$transformationGroup

at line 176
public parseTransformationFile($filename, $name)

Parameters

$filename
$name

at line 838
public appendDirectMapping($block, $identifier, $sourceValue, $destinationValues)

Parameters

$block
$identifier
$sourceValue
$destinationValues

at line 867
public appendReplaceMapping($block, $identifier, $sourceValue, $sourceEndValue, $destinationValues)

Parameters

$block
$identifier
$sourceValue
$sourceEndValue
$destinationValues

at line 897
public appendTransposeMapping($block, $identifier, $sourceValue, $sourceEndValue, $transposeValue, $addValue, $moduloValue)

Parameters

$block
$identifier
$sourceValue
$sourceEndValue
$transposeValue
$addValue
$moduloValue

at line 919
public extractUnicodeValue($data)

Parameters

$data

at line 950
public extractUnicodeValues($data)

Parameters

$data

at line 982
public expandInheritance($table)

Parameters

$table

at line 1017
public ordinalValues($table, $list)

Parameters

$table
$list

at line 1048
public mapOrdinals($table, $ordinals)

Parameters

$table
$ordinals

at line 1112
public generateSimpleMappingTable($table, $allowedRanges)

Parameters

$table
$allowedRanges

at line 1377
public generateMappingCode($identifier)

Parameters

$identifier

at line 1396
public generateCharsetMappingTable($unicodeTable, $charset)

Parameters

$unicodeTable
$charset

at line 1433
public decodeCommand($name, $parameters)

Parameters

$name
$parameters

at line 1518
public generateCommandCode($command, $charsetName)

Parameters

$command
$charsetName

at line 1662
public executeCommandCode($text, $command, $charsetName)

Parameters

$text
$command
$charsetName

at line 1802
public nonCJKCharsets()