Com\Tecnick\Unicode\Bidi\StepXten
Tags
Table of Contents
- $chardata : array<string|int, mixed>
- Array of characters data to return
- $ilrs : array<string|int, mixed>
- Array of Isolated Level Run sequences
- $numchars : int
- Number of characters
- $numrunseq : int
- Number of Level Run sequences
- $pel : int
- Paragraph Embedding Level
- $runseq : array<string|int, mixed>
- Array of Level Run sequences
- __construct() : mixed
- X Steps for Bidirectional algorithm
- getIsolatedLevelRunSequences() : array<string|int, mixed>
- Get the Isolated Run Sequences
- getEmbeddedDirection() : string
- Get the embedded direction (L or R)
- isIsolateInitiator() : bool
- returns true if the input char is an Isolate Initiator
- setIsolatedLevelRunSequences() : array<string|int, mixed>
- Set level Isolated Level Run Sequences
- setLevelRunSequences() : mixed
- Set Level Run Sequences
- setStartEndOfSequence() : mixed
- Determine the start-of-sequence (sos) and end-of-sequence (eos) types, either L or R, for each isolating run sequence.
Properties
$chardata
Array of characters data to return
protected array<string|int,
mixed> $chardata = array()
$ilrs
Array of Isolated Level Run sequences
protected array<string|int,
mixed> $ilrs = array()
$numchars
Number of characters
protected int $numchars = 0
$numrunseq
Number of Level Run sequences
protected int $numrunseq = 0
$pel
Paragraph Embedding Level
protected int $pel = 0
$runseq
Array of Level Run sequences
protected array<string|int,
mixed> $runseq = array()
Methods
__construct()
X Steps for Bidirectional algorithm
public __construct(array<string|int,
mixed> $chardata,
int $pel)
: mixed
Parameters
- $chardata : array<string|int, mixed>
-
Array of UTF-8 codepoints
- $pel : int
-
Paragraph Embedding Level
Return values
mixed —getIsolatedLevelRunSequences()
Get the Isolated Run Sequences
public getIsolatedLevelRunSequences()
: array<string|int,
mixed>
Return values
array<string|int, mixed> —getEmbeddedDirection()
Get the embedded direction (L or R)
protected getEmbeddedDirection(int $level)
: string
Parameters
- $level : int
Return values
string —isIsolateInitiator()
returns true if the input char is an Isolate Initiator
protected isIsolateInitiator(mixed $ord)
: bool
Parameters
- $ord : mixed
Return values
bool —setIsolatedLevelRunSequences()
Set level Isolated Level Run Sequences
protected setIsolatedLevelRunSequences()
: array<string|int,
mixed>
Return values
array<string|int, mixed> —setLevelRunSequences()
Set Level Run Sequences
protected setLevelRunSequences()
: mixed
Return values
mixed —setStartEndOfSequence()
Determine the start-of-sequence (sos) and end-of-sequence (eos) types, either L or R, for each isolating run sequence.
protected setStartEndOfSequence()
: mixed