Elgg  Version 3.0
Public Member Functions | Public Attributes | List of all members
Elgg\I18n\ReleaseCleaner Class Reference

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 = []
 

Detailed Description

Removes invalid language files from an installation.

Definition at line 10 of file ReleaseCleaner.php.

Constructor & Destructor Documentation

Elgg\I18n\ReleaseCleaner::__construct ( array  $codes = [])

Constructor.

Parameters
string[]$codes Valid language codes

Definition at line 27 of file ReleaseCleaner.php.

Member Function Documentation

Elgg\I18n\ReleaseCleaner::cleanInstallation (   $dir)

Clean up within an installation.

Parameters
string$dirThe installation dir
Returns
void

Definition at line 41 of file ReleaseCleaner.php.

Elgg\I18n\ReleaseCleaner::cleanLanguagesDir (   $dir)

Clean up a languages dir.

Parameters
string$dirLanguages dir
Returns
void

Definition at line 70 of file ReleaseCleaner.php.

Member Data Documentation

Elgg\I18n\ReleaseCleaner::$log = []

Definition at line 20 of file ReleaseCleaner.php.


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