Class lajax\translatemanager\models\ExportForm

Inheritancelajax\translatemanager\models\ExportForm » yii\base\Model
Available since version1.5.0

Export Form.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$exportLanguages string[] The languages to export lajax\translatemanager\models\ExportForm
$format string The file format in which to export the data (json or xml) lajax\translatemanager\models\ExportForm

Property Details

$exportLanguages public property

The languages to export

public string[] $exportLanguages null
$format public property

The file format in which to export the data (json or xml)

public string $format null

Method Details

getDefaultExportLanguages() public method

Find languages matching the minimumStatus

public lajax\translatemanager\models\Language[] getDefaultExportLanguages ( $minimumStatus )

Int The status of the returned language will be equal or larger than this number.

getExportData() public method

public Array getExportData ( )
return Array

Generate a two dimensional array of the translation data for the exportLanguages:

 'languages' => [],
 'languageSources' => [],
 'languageTranslations' => [],
rules() public method

public void rules ( )