private static function PHPExcel_Calculation::_loadLocales in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation.php \PHPExcel_Calculation::_loadLocales()
1 call to PHPExcel_Calculation::_loadLocales()
- PHPExcel_Calculation::setLocale in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Calculation.php - * Set the locale code * *
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Calculation.php, line 1747
Class
- PHPExcel_Calculation
- PHPExcel_Calculation (Multiton)
Code
private static function _loadLocales() {
$localeFileDirectory = PHPEXCEL_ROOT . 'PHPExcel/locale/';
foreach (glob($localeFileDirectory . '/*', GLOB_ONLYDIR) as $filename) {
$filename = substr($filename, strlen($localeFileDirectory) + 1);
if ($filename != 'en') {
self::$_validLocaleLanguages[] = $filename;
}
}
}