Свойство | Тип | Описание | |
---|---|---|---|
$scanners | List of language element classes |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
_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 | ||
Результат | array | associative array containing the language elements. |
public getNewLanguageElements ( ) : array | ||
Результат | array | associative array containing the new language elements. |
public getRemovableLanguageSourceIds ( ) : array | ||
Результат | array |