saveMessagesCategoryToPHP() protected method
Writes category messages into PHP file
protected integer saveMessagesCategoryToPHP ( $messages, $fileName, $overwrite, $removeUnused, $sort, $category, $markUnused ) | ||
---|---|---|
$messages | array | |
$fileName | string |
Name of the file to write to |
$overwrite | boolean |
If existing file should be overwritten without backup |
$removeUnused | boolean |
If obsolete translations should be removed |
$sort | boolean |
If translations should be sorted |
$category | string |
Message category |
$markUnused | boolean |
If obsolete translations should be marked |
return | integer |
Exit code |
Please login to continue.