Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
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.

private

Definition at line 9 of file ReleaseCleaner.php.

Constructor & Destructor Documentation

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

Constructor.

Parameters
string[]$codes Valid language codes

Definition at line 26 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 40 of file ReleaseCleaner.php.

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

Clean up a languages dir.

Parameters
string$dirLanguages dir
Returns
void

Definition at line 69 of file ReleaseCleaner.php.

Member Data Documentation

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

Definition at line 19 of file ReleaseCleaner.php.


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