You are here

class TestIntegerFormatter in Currency 7.2

A testing version of IntegerFormatter.

Hierarchy

Expanded class hierarchy of TestIntegerFormatter

File

currency/vendor/bartfeenstra/cldr/src/BartFeenstra/Tests/CLDR/TestIntegerFormatter.php, line 15
Contains class \BartFeenstra\CLDR\TestIntegerFormatter.

Namespace

BartFeenstra\Tests\CLDR
View source
class TestIntegerFormatter extends IntegerFormatter {

  /**
   * Gets a class property.
   *
   * @param string $name
   *
   * @return mixed
   */
  function get($name) {
    return $this->{$name};
  }

}

Members

Namesort descending Modifiers Type Description Overrides
IntegerFormatter::$pattern public property The original pattern.
IntegerFormatter::$symbols protected property This pattern's symbols.
IntegerFormatter::$symbol_replacements public property Replacements for occurrences of the self::SYMBOL_SPECIAL_* constants in $this->pattern.
IntegerFormatter::cloneNumberPatternSymbols function Clones this formatter's NumberPatternSymbol objects. 1
IntegerFormatter::format public function Formats a number. 1
IntegerFormatter::getReplacement function Gets a replacement symbol for a placeholder.
IntegerFormatter::NEGATIVE constant Indicates a negative pattern.
IntegerFormatter::patternSymbols function Converts a number pattern to an array of NumberPatternSymbol objects.
IntegerFormatter::patternSymbolsSplit protected function Splits a pattern into two fragments.
IntegerFormatter::PCRE_META_CHARACTERS constant PCRE meta characters.
IntegerFormatter::POSITIVE constant Indicates a positive pattern.
IntegerFormatter::process protected function Process the pattern's symbols using a number.
IntegerFormatter::replacePlaceholders function Replaces placeholders. 2
IntegerFormatter::strrev static function Reverses a string in a unicode-safe way.
IntegerFormatter::str_split static function Splits a string in a unicode-safe way.
IntegerFormatter::symbolIsSpecial function Checks if a symbol is a special.
IntegerFormatter::SYMBOL_DIGIT constant A digit.
IntegerFormatter::SYMBOL_DIGIT_OPTIONAL constant An optional digit.
IntegerFormatter::SYMBOL_ESCAPE constant An escape character.
IntegerFormatter::SYMBOL_PATTERN_SEPARATOR constant The pattern separator.
IntegerFormatter::SYMBOL_SPECIAL_GROUPING_SEPARATOR constant The grouping separator's symbol.
IntegerFormatter::SYMBOL_SPECIAL_INFINITY constant Infinity's symbol.
IntegerFormatter::SYMBOL_SPECIAL_MINUS constant The minus sign's symbol.
IntegerFormatter::SYMBOL_SPECIAL_NAN constant "not a number"'s symbol.
IntegerFormatter::SYMBOL_SPECIAL_PLUS constant The plus sign's symbol.
IntegerFormatter::__clone function Implements __clone().
IntegerFormatter::__construct function Implements __construct(). 1
TestIntegerFormatter::get function Gets a class property.