Com\Tecnick\Unicode\Bidi\StepI
Tags
Table of Contents
- $seq : array<string|int, mixed>
- Sequence to process and return
- __construct() : mixed
- Initialize Sequence to process
- getSequence() : array<string|int, mixed>
- Returns the processed array
- processStep() : mixed
- Generic step
- process() : mixed
- Process I steps
- processI() : mixed
- I1. For all characters with an even (left-to-right) embedding level, those of type R go up one level and those of type AN or EN go up two levels.
Properties
$seq
Sequence to process and return
protected array<string|int,
mixed> $seq = array()
Methods
__construct()
Initialize Sequence to process
public __construct(array<string|int,
mixed> $seq[,
bool $process
= true
]) : mixed
Parameters
- $seq : array<string|int, mixed>
-
Isolated Sequence array
- $process : bool = true
-
If false disable automatic processing (this is a testing flag)
Return values
mixed —getSequence()
Returns the processed array
public getSequence()
: array<string|int,
mixed>
Return values
array<string|int, mixed> —processStep()
Generic step
public processStep(string $method)
: mixed
Parameters
- $method : string
-
Processing methos
Return values
mixed —process()
Process I steps
protected process()
: mixed
Return values
mixed —processI()
I1. For all characters with an even (left-to-right) embedding level, those of type R go up one level and those of type AN or EN go up two levels.
protected processI(int $idx)
: mixed
I2. For all characters with an odd (right-to-left) embedding level, those of type L, EN or AN go up one level.
Parameters
- $idx : int
-
Current character position