Public Member Functions | |
| downloadLocale ($locale, &$errors) | |
| getDownloadableLocales () | |
| isDownloadAvailable () | |
| LanguageAction () | |
Definition at line 31 of file LanguageAction.inc.php.
| LanguageAction.downloadLocale | ( | $ | locale, | |
| &$ | errors | |||
| ) |
Download and install a locale.
| $locale | string | |
| $errors | array |
Definition at line 97 of file LanguageAction.inc.php.
References Locale.getAllLocales(), DAORegistry.getDAO(), getDownloadableLocales(), Locale.translate(), and FileWrapper.wrapper().
| LanguageAction.getDownloadableLocales | ( | ) |
Get the list of locales that can be downloaded for the current version.
Definition at line 82 of file LanguageAction.inc.php.
References DAORegistry.getDAO(), and Locale.loadLocaleList().
Referenced by downloadLocale().
| LanguageAction.isDownloadAvailable | ( | ) |
Actions. Check to see whether the tar function exists and appears to be available for execution from PHP, and various other conditions that are required for locale downloading to be available.
Definition at line 48 of file LanguageAction.inc.php.
| LanguageAction.LanguageAction | ( | ) |
Constructor.
Definition at line 35 of file LanguageAction.inc.php.
1.5.6