kernel/shop/editcurrency.php
Functions
validateCurrencyData(
array $currencyData
)
:
false | stringValidates currency data: - checks that custom_rate_value & rate_factor are provided and are floats.
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $currencyData | array | Currenty data as submitted. Will be modified to remove invalid values since it is passed by reference |
| Type | Description |
|---|---|
| false | string | True if data is valid, an error message if it's not |