/
[in-commerce] Currency converter code reorganization
[in-commerce] Currency converter code reorganization
Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/e7c1b302931fee57#
All currency converter classes are located in same file, not in separate files as they should. Base currency converter class is named "kCurrencyRates
" (starting with "k
"), but it is not part of In-Portal distribution, and belongs to In-Commerce module, so "k
" should be removed.
Also this class is registered not in unit config, but in kApplication class directly. At the end all classes from file "\in-commerce\units\currencies\currency_rates.php
" should be moved to "\in-commerce\units\helpers
" folder and named properly, because they are actually helpers.