Definition at line 34 of file Ini.php.
◆ _loadTranslationData()
_loadTranslationData |
( |
|
$data, |
|
|
|
$locale, |
|
|
array |
$options = array() |
|
) |
| |
|
protected |
Load translation data
- Parameters
-
string | array | $data | |
string | $locale | Locale/Language to add data for, identical with locale identifier, see Zend_Locale for more information |
array | $options | OPTIONAL Options to use |
- Exceptions
-
- Returns
- array
Definition at line 48 of file Ini.php.
50 $this->_data = array();
51 if (!file_exists(
$data)) {
52 #require_once 'Zend/Translate/Exception.php'; 56 $inidata = parse_ini_file(
$data,
false);
57 if (!isset($this->_data[$locale])) {
58 $this->_data[$locale] = array();
61 $this->_data[$locale] = array_merge($this->_data[$locale], $inidata);
◆ toString()
returns the adapters name
- Returns
- string
Definition at line 70 of file Ini.php.
The documentation for this class was generated from the following file:
- vendor/magento/zendframework1/library/Zend/Translate/Adapter/Ini.php