You are here

class NumberPatternSymbol in Currency 7.2

Describes a character from a number pattern .

Hierarchy

Expanded class hierarchy of NumberPatternSymbol

File

currency/vendor/bartfeenstra/cldr/src/BartFeenstra/CLDR/NumberPatternSymbol.php, line 13
Contains class \BartFeenstra\CLDR\NumberPatternSymbol.

Namespace

BartFeenstra\CLDR
View source
class NumberPatternSymbol {

  /**
   * Whether the symbol is escaped or not.
   *
   * @var boolean
   */
  public $escaped = FALSE;

  /**
   * Whether this symbol escapes another or not.
   *
   * @var boolean
   */
  public $escapes_other_symbol = FALSE;

  /**
   * The symbol's position in the original pattern.
   *
   * @var integer
   */
  public $position = NULL;

  /**
   * The symbol's replacement value.
   *
   * @var string
   */
  public $replacement = NULL;

  /**
   * The symbol.
   *
   * @var string
   */
  public $symbol = NULL;

  /**
   * Implements __construct().
   */
  function __construct($symbol, $position = NULL, $escaped = FALSE) {
    $this->symbol = $symbol;
    $this->position = $position;
    $this->escaped = $escaped;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
NumberPatternSymbol::$escaped public property Whether the symbol is escaped or not.
NumberPatternSymbol::$escapes_other_symbol public property Whether this symbol escapes another or not.
NumberPatternSymbol::$position public property The symbol's position in the original pattern.
NumberPatternSymbol::$replacement public property The symbol's replacement value.
NumberPatternSymbol::$symbol public property The symbol.
NumberPatternSymbol::__construct function Implements __construct().