|
Elgg
Version 2.3
|
Removes invalid language files from an installation. More...
Public Member Functions | |
| __construct (array $codes=[]) | |
| Constructor. More... | |
| cleanInstallation ($dir) | |
| Clean up within an installation. More... | |
| cleanLanguagesDir ($dir) | |
| Clean up a languages dir. More... | |
Public Attributes | |
| $log = [] | |
Removes invalid language files from an installation.
@access private
Definition at line 9 of file ReleaseCleaner.php.
| Elgg\I18n\ReleaseCleaner::__construct | ( | array | $codes = [] | ) |
Constructor.
| string[] | $codes | Valid language codes |
Definition at line 26 of file ReleaseCleaner.php.
| Elgg\I18n\ReleaseCleaner::cleanInstallation | ( | $dir | ) |
Clean up within an installation.
| string | $dir | The installation dir |
Definition at line 40 of file ReleaseCleaner.php.
| Elgg\I18n\ReleaseCleaner::cleanLanguagesDir | ( | $dir | ) |
Clean up a languages dir.
| string | $dir | Languages dir |
Definition at line 69 of file ReleaseCleaner.php.
| Elgg\I18n\ReleaseCleaner::$log = [] |
Definition at line 19 of file ReleaseCleaner.php.