ICanBoogie
  • Documentation
  • API Reference
  • CLDR master
Namespaces
  • ICanBoogie
    • CLDR
      • Plurals
      • Units
Classes
  • Operands
  • Relation
  • Rule
  • Samples

Class Operands

Representation of plural operands.

ICanBoogie\CLDR\Plurals\Operands uses ICanBoogie\Accessor\AccessorTrait (not available)
Final
Namespace: ICanBoogie\CLDR\Plurals
See: http://unicode.org/reports/tr35/tr35-numbers.html#Operands
Located at Plurals/Operands.php

Methods summary

public static from( $number )
protected get_n( void ) : integer

Returns

integer
protected get_i( void ) : integer

Returns

integer
protected get_v( void ) : integer

Returns

integer
protected get_w( void ) : integer

Returns

integer
protected get_f( void ) : integer

Returns

integer
protected get_t( void ) : integer

Returns

integer
public to_array( void ) : array

Returns

array
An array made of [ $n, $i, $v, $w, $f, $t ].

Properties summary

Magic properties

public read-only $n : integer
public read-only $i : integer
public read-only $v : integer
public read-only $w : integer
public read-only $f : integer
public read-only $t : integer
CLDR master – Check on GitHub – API documentation generated by ApiGen