29 if (!$this->isFormData() || $this->
getData(
'groups/options/fields/allow/inherit')) {
32 (
string)$this->_config->getValue(
33 \
Magento\Directory\Model\Currency::XML_PATH_CURRENCY_ALLOW,
40 return (array)$this->
getData(
'groups/options/fields/allow/value');
52 $this->_config->getValue(
53 'system/currency/installed',
67 if (!$this->isFormData() || !
$value) {
68 $value = $this->_config->getValue(
69 \
Magento\Directory\Model\Currency::XML_PATH_CURRENCY_BASE,
84 if (!$this->isFormData() || !(
$value = $this->
getData(
'groups/options/fields/default/value'))) {
85 $value = $this->_config->getValue(
86 \
Magento\Directory\Model\Currency::XML_PATH_CURRENCY_DEFAULT,
99 private function isFormData()
101 return $this->
getData(
'groups/options/fields') !==
null;
getData($key='', $index=null)
_getInstalledCurrencies()