classes-Com-Tecnick-Unicode-Bidi-StepI

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

Com\Tecnick\Unicode\Bidi\StepI

Tags
since
2015-07-13
category

Library

author

Nicola Asuni info@tecnick.com

copyright

2011-2015 Nicola Asuni - Tecnick.com LTD

license

http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT)

link
https://github.com/tecnickcom/tc-lib-unicode

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

Return values
mixed
 

© 2004-2021 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy