console\controllers\MessageController saveMessagesCategoryToPHP()

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

doc_Yii
2016-10-30 16:55:15
Comments
Leave a Comment

Please login to continue.