메소드 | 설명 | |
---|---|---|
__construct ( ) | Creates a new part unit. | |
getName ( ) : string | Returns the name for this unit. | |
getParts ( ) : |
Returns the parts for this PartUnit. | |
getShortName ( ) : string | Returns the short name for this unit. | |
isDefault ( ) : boolean | Returns if the unit is default or not. | |
setDefault ( boolean $default ) | Defines if the unit is default or not. | |
setName ( string $name ) | Sets the name for this unit. | |
setShortName ( string $shortName ) | Sets the short name for this unit. |
public getParts ( ) : |
||
리턴 |
public getShortName ( ) : string | ||
리턴 | string | The short name for this unit |
public setDefault ( boolean $default ) | ||
$default | boolean | True if the unit is default, false otherwise |
public setShortName ( string $shortName ) | ||
$shortName | string | The short name |