source-class-Com.Tecnick.Unicode.Data.Constant

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.
  1:   2:   3:   4:   5:   6:   7:   8:   9:  10:  11:  12:  13:  14:  15:  16:  17:  18:  19:  20:  21:  22:  23:  24:  25:  26:  27:  28:  29:  30:  31:  32:  33:  34:  35:  36:  37:  38:  39:  40:  41:  42:  43:  44:  45:  46:  47:  48:  49:  50:  51:  52:  53:  54:  55:  56:  57:  58:  59:  60:  61:  62:  63:  64:  65:  66:  67:  68:  69:  70:  71:  72:  73:  74:  75:  76:  77:  78:  79:  80:  81:  82:  83:  84:  85:  86:  87:  88:  89:  90:  91:  92:  93:  94:  95:  96:  97:  98:  99: 100: 101: 102: 103: 104: 105: 106: 107: 108: 109: 110: 111: 112: 113: 114: 115: 116: 117: 118: 119: 120: 121: 122: 123: 124: 125: 126: 127: 128: 129: 130: 131: 132: 133: 134: 135: 136: 137: 138: 139: 140: 141: 142: 143: 144: 145: 146: 147: 148: 149: 150: 151: 152: 153: 154: 155: 156: 157: 158: 159: 160: 161: 162: 163: 164: 165: 166: 167: 168: 169: 170: 171: 172: 173: 174: 175: 176: 
<?php
/**
 * Constant.php
 *
 * @since       2011-05-23
 * @category    Library
 * @package     UnicodeData
 * @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-data
 *
 * This file is part of tc-lib-unicode-data software library.
 */

namespace Com\Tecnick\Unicode\Data;

/**
 * Com\Tecnick\Unicode\Data\Constant
 *
 * @since       2011-05-23
 * @category    Library
 * @package     UnicodeData
 * @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-data
 */
class Constant
{
    /*
     * Explicit Directional Embeddings
     * -------------------------------
     * The following characters signal that a piece of text is to be treated as embedded.
     * For example, an English quotation in the middle of an Arabic sentence could be marked
     * as being embedded left-to-right text. If there were a Hebrew phrase in the middle of
     * the English quotation, that phrase could be marked as being embedded right-to-left text.
     * Embeddings can be nested one inside another, and in isolates and overrides.
     */

    /**
     * (U+202A) LEFT-TO-RIGHT EMBEDDING
     * Treat the following text as embedded left-to-right
     */
    const LRE = 8234;

    /**
     * (U+202B) RIGHT-TO-LEFT EMBEDDING
     * Treat the following text as embedded right-to-left
     */
    const RLE = 8235;

    /*
     * Explicit Directional Overrides
     * ------------------------------
     * The following characters allow the bidirectional character types to be overridden when
     * required for special cases, such as for part numbers. They are to be avoided wherever possible,
     * because of security concerns. For more information, see [UTR36].
     * Directional overrides can be nested one inside another, and in embeddings and isolates.
     */

    /**
     * (U+202D) for LEFT-TO-RIGHT OVERRIDE
     * Force following characters to be treated as strong left-to-right characters
     */
    const LRO = 8237;

    /**
     * (U+202E) RIGHT-TO-LEFT OVERRIDE
     * Force following characters to be treated as strong right-to-left characters
     */
    const RLO = 8238;

    /*
     * Terminating Explicit Directional Embeddings and Overrides
     * ---------------------------------------------------------
     */

    /**
     * (U+202C) POP DIRECTIONAL FORMATTING
     * End the scope of the last LRE, RLE, RLO, or LRO whose scope has not yet been terminated
     */
    const PDF = 8236;

    /*
     * Explicit Directional Isolates
     * -----------------------------
     * The following characters signal that a piece of text is to be treated as directionally isolated
     * from its surroundings. They are very similar to the explicit embedding formatting characters.
     * However, while an embedding roughly has the effect of a strong character on the ordering of the
     * surrounding text, an isolate has the effect of a neutral like U+FFFC OBJECT REPLACEMENT CHARACTER,
     * and is assigned the corresponding display position in the surrounding text.
     * Furthermore, the text inside the isolate has no effect on the ordering of the text outside it, and vice versa.
     *
     * In addition to allowing the embedding of strongly directional text without unduly affecting the bidirectional
     * order of its surroundings, one of the isolate formatting characters also offers an extra feature:
     * embedding text while inferring its direction heuristically from its constituent characters.
     *
     * Isolates can be nested one inside another, and in embeddings and overrides.
     */

    /**
     * (U+2066) LEFT-TO-RIGHT ISOLATE
     * Treat the following text as isolated and left-to-right
     */
    const LRI = 8294;

    /**
     * (U+2067) RIGHT-TO-LEFT ISOLATE
     * Treat the following text as isolated and right-to-left
     */
    const RLI = 8295;

    /**
     * (U+2068) FIRST STRONG ISOLATE
     * Treat the following text as isolated and in the direction of its first
     * strong directional character that is not inside a nested isolate
     */
    const FSI = 8296;

    /*
     * Terminating Explicit Directional Isolates
     * -----------------------------------------
     * The following character terminates the scope of the last LRI, RLI, or FSI whose scope
     * has not yet been terminated, as well as the scopes of any subsequent LREs, RLEs, LROs, or RLOs
     * whose scopes have not yet been terminated.
     */

    /**
     * (U+2069) POP DIRECTIONAL ISOLATE
     * End the scope of the last LRI, RLI, or FSI
     */
    const PDI = 8297;
    
    /*
     * Implicit Directional Marks
     * --------------------------
     * These characters are very light-weight formatting.
     * They act exactly like right-to-left or left-to-right characters,
     * except that they do not display or have any other semantic effect.
     * Their use is more convenient than using explicit embeddings or overrides because their scope is much more local.
    
    /**
     * (U+200E) LEFT-TO-RIGHT MARK
     * Left-to-right zero-width character
     */
    const LRM = 8206;

    /**
     * (U+200F) RIGHT-TO-LEFT MARK
     * Right-to-left zero-width non-Arabic character
     */
    const RLM = 8207;

    /**
     * (U+061C) ARABIC LETTER MARK
     * Right-to-left zero-width Arabic character
     */
    const ALM = 1564;

    /*
     * Other useful characters
     * -----------------------
     */

    /**
     * (U+0020) SPACE
     */
    const SPACE = 32;

    /**
     * (U+200C) ZERO WIDTH NON-JOINER
     */
    const ZERO_WIDTH_NON_JOINER = 8204;
}
 

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