Public Member Functions

LanguageAction Class Reference
[I18n]

LanguageAction class. More...

List of all members.

Public Member Functions

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

Detailed Description

LanguageAction class.

Definition at line 22 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 92 of file LanguageAction.inc.php.

References getDownloadableLocales().

LanguageAction.getDownloadableLocales (  ) 

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

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

Referenced by downloadLocale().

LanguageAction.isDownloadAvailable (  ) 

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 39 of file LanguageAction.inc.php.

LanguageAction.LanguageAction (  ) 

Constructor.

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


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