|
Erebot
latest
A modular IRC bot for PHP 5.3+
|
Interface for a monetary value embedded in a template. More...
Inheritance diagram for Erebot\Styling\Variables\CurrencyInterface:Public Member Functions | |
| getCurrency () | |
Public Member Functions inherited from Erebot\Styling\VariableInterface | |
| getValue () | |
| render (\Erebot\IntlInterface $translator) | |
Interface for a monetary value embedded in a template.
Definition at line 27 of file CurrencyInterface.php.
| Erebot\Styling\Variables\CurrencyInterface::getCurrency | ( | ) |
Returns the currency the amount is expressed in.
| string | The name of the currency used to express the amount. |
| NULL | NULL is returned in case no currency was given at construction, meaning that the currency will automatically be selected at runtime. |
Implemented in Erebot\Styling\Variables\CurrencyVariable.