Method | Description | |
---|---|---|
__construct ( ) | Creates a new Unit. | |
getName ( ) : string | Returns the name for this unit. | |
getPrefixes ( ) : |
Returns the si-prefix list for this unit. | |
getSymbol ( ) : string | Returns the symbol for this unit. | |
setName ( string $name ) | Sets the name for this unit. | |
setPrefixes ( $array ) | Sets the SiPrefixes. | |
setSymbol ( string $symbol ) | Sets the symbol for this unit. |
public getPrefixes ( ) : |
||
return | An array of SiPrefix objects |