Property | Type | Description | |
---|---|---|---|
$scanners | List of language element classes |
Method | Description | |
---|---|---|
addLanguageItem ( string $category, string $message ) | Adding language elements to the array. | |
addLanguageItems ( array $languageItems ) | Adding language elements to the array. | |
getLanguageItems ( ) : array | Returns existing language elements. | |
getNewLanguageElements ( ) : array | Returns new language elements. | |
getRemovableLanguageSourceIds ( ) : array | Returns removable LanguageSource ids. | |
run ( ) : integer | Scanning project for text not stored in database. | |
scanning ( ) : integer | Scanning project for text not stored in database. | |
stdout ( string $string ) | Prints a string to STDOUT |
Method | Description | |
---|---|---|
_initLanguageArrays ( ) | Initialising $_languageItems and $_removableLanguageSourceIds arrays. | |
_scanningProject ( ) | Scan project for new language elements. |
public addLanguageItem ( string $category, string $message ) | ||
$category | string | |
$message | string |
public addLanguageItems ( array $languageItems ) | ||
$languageItems | array | example: ~~~ [ [ 'category' => 'language', 'message' => 'Active' ], [ 'category' => 'language', 'message' => 'Inactive' ], ] ~~~ |
public getLanguageItems ( ) : array | ||
return | array | associative array containing the language elements. |
public getNewLanguageElements ( ) : array | ||
return | array | associative array containing the new language elements. |
public getRemovableLanguageSourceIds ( ) : array | ||
return | array |