kernel/shop/editcurrency.php
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Package
- kernel
- Version
- 4.6.0
Functions

validateCurrencyData(
array $currencyData
)
:
false | string
Validates 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 |