classes-Com-Tecnick-Unicode-Bidi-Shaping-Arabic

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\Shaping\Arabic

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

hasNextChar()  : bool
Check next char
hasPrevChar()  : bool
Check previous char
isFinalChar()  : bool
Check if it is a final character
isLaaLetter()  : bool
Check if it is a LAA LETTER
isMiddleChar()  : bool
Check if it is a middle character
processAlChar()  : mixed
Process AL character
setFinalChar()  : mixed
Set final char
setInitialChar()  : mixed
Set initial char
setMiddleChar()  : mixed
Set initial or middle char

Methods

hasNextChar()

Check next char

protected hasNextChar(int $thischar, int|false $nextchar) : bool
Parameters
$thischar : int

Current char

$nextchar : int|false

Next char

Return values
bool

hasPrevChar()

Check previous char

protected hasPrevChar(int|false $prevchar, int $thischar) : bool
Parameters
$prevchar : int|false

Previous char

$thischar : int

Current char

Return values
bool

isFinalChar()

Check if it is a final character

protected isFinalChar(int|false $prevchar, int $thischar, int|false $nextchar) : bool
Parameters
$prevchar : int|false

Previous char

$thischar : int

Current char

$nextchar : int|false

Next char

Return values
bool

isLaaLetter()

Check if it is a LAA LETTER

protected isLaaLetter(mixed $prevchar, mixed $thischar) : bool
Parameters
$prevchar : mixed
$thischar : mixed
Return values
bool

isMiddleChar()

Check if it is a middle character

protected isMiddleChar(int|false $prevchar, int $thischar, int|false $nextchar) : bool
Parameters
$prevchar : int|false

Previous char

$thischar : int

Current char

$nextchar : int|false

Next char

Return values
bool

processAlChar()

Process AL character

protected processAlChar(int $idx, int $pos, int|false $prevchar, int $thischar, int|false $nextchar) : mixed
Parameters
$idx : int

Current index

$pos : int

Current char position

$prevchar : int|false

Previous char

$thischar : int

Current char

$nextchar : int|false

Next char

Return values
mixed

setFinalChar()

Set final char

protected setFinalChar(int $idx, int|false $prevchar, int $thischar, array<string|int, mixed> $arabicarr) : mixed
Parameters
$idx : int

Current index

$prevchar : int|false

Previous char

$thischar : int

Current char

$arabicarr : array<string|int, mixed>

Substitution array

Return values
mixed

setInitialChar()

Set initial char

protected setInitialChar(int $idx, int $thischar, array<string|int, mixed> $arabicarr) : mixed
Parameters
$idx : int

Current index

$thischar : int

Current char

$arabicarr : array<string|int, mixed>

Substitution array

Return values
mixed

setMiddleChar()

Set initial or middle char

protected setMiddleChar(int $idx, int|false $prevchar, int $thischar, array<string|int, mixed> $arabicarr) : mixed
Parameters
$idx : int

Current index

$prevchar : int|false

Previous char

$thischar : int

Current char

$arabicarr : array<string|int, mixed>

Substitution array

Return values
mixed
 

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