\UBMorph
Morphological values converter
Synopsis
class UBMorph
{
- // members
- protected string $currencyType = '';
- protected array $altCfg = ;
- // methods
- public void __construct()
- protected void loadAlter()
- public string getType()
- protected void initType()
- public void setType()
- public string sum2str()
- protected int morph()
Members
protected
- $altCfg
- $currencyType
Methods
protected
- initType() — Inits default currency type at startup, handles TEMPLATE_CURRENCY option
- loadAlter()
- morph() — Brutal morph here
public
- __construct()
- getType() — Returns current currency
- setType() — Sets current currency type like UAH or RUR
- sum2str() — Returns localized and literated sum for cash