LanguageAction Class Reference
[Admin]

LanguageAction class. More...

List of all members.

Public Member Functions

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


Detailed Description

LanguageAction class.

Definition at line 31 of file LanguageAction.inc.php.


Member Function Documentation

LanguageAction.downloadLocale ( locale,
&$  errors 
)

Download and install a locale.

Parameters:
$locale string
$errors array
Returns:
boolean

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.

Returns:
boolean

Definition at line 48 of file LanguageAction.inc.php.

LanguageAction.LanguageAction (  ) 

Constructor.

Definition at line 35 of file LanguageAction.inc.php.


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

Generated on Mon Jul 14 10:55:43 2008 for Open Journal Systems by  doxygen 1.5.6