eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZCodeMapper

class eZCodeMapper

Constants

TYPE_DIRECT

TYPE_RANGE

TYPE_REPLACE

Properties

$TransformationTables
$TransformationFiles
$ISOUnicodeCodec

Methods

eZCodeMapper()

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 27
public eZCodeMapper()

at line 36
public mappingTable($identifier)

Parameters

$identifier

at line 46
public ruleNames()

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

Parameters

$text
$position

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

Parameters

$text
$position

at line 102
public isTranformationLoaded($name)

Parameters

$name

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

Parameters

$currentCharset
$transformationGroup

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

Parameters

$filename
$name

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

Parameters

$block
$identifier
$sourceValue
$destinationValues

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

Parameters

$block
$identifier
$sourceValue
$sourceEndValue
$destinationValues

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

Parameters

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

at line 922
public extractUnicodeValue($data)

Parameters

$data

at line 953
public extractUnicodeValues($data)

Parameters

$data

at line 985
public expandInheritance($table)

Parameters

$table

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

Parameters

$table
$list

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

Parameters

$table
$ordinals

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

Parameters

$table
$allowedRanges

at line 1380
public generateMappingCode($identifier)

Parameters

$identifier

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

Parameters

$unicodeTable
$charset

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

Parameters

$name
$parameters

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

Parameters

$command
$charsetName

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

Parameters

$text
$command
$charsetName

at line 1805
public nonCJKCharsets()