Open Journal Systems  2.4.8
 All Classes Namespaces Functions Variables Groups Pages
LanguageAction Class Reference

Public Member Functions

 downloadLocale ($locale, &$errors)
 getDownloadableLocales ()
 isDownloadAvailable ()
 LanguageAction ()

Detailed Description

LanguageAction class.

Definition at line 24 of file

Member Function Documentation

LanguageAction::downloadLocale (   $locale,

Download and install a locale.


Definition at line 94 of file

References PKPLocale\getAllLocales(), DAORegistry\getDAO(), getDownloadableLocales(), Config\getVar(), and FileWrapper\wrapper().

LanguageAction::getDownloadableLocales ( )

Get the list of locales that can be downloaded for the current version.

Definition at line 79 of file

References DAORegistry\getDAO(), and PKPLocale\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 41 of file

References Config\getVar().

LanguageAction::LanguageAction ( )


Definition at line 28 of file

The documentation for this class was generated from the following file: