Class lajax\translatemanager\models\ExportForm
Inheritance | lajax\translatemanager\models\ExportForm » yii\base\Model |
---|---|
Available since version | 1.5.0 |
Export Form.
Public Properties
Property | Type | Description | Defined 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 |
Public Methods
Method | Description | Defined By |
---|---|---|
getDefaultExportLanguages() | Find languages matching the minimumStatus | lajax\translatemanager\models\ExportForm |
getExportData() | lajax\translatemanager\models\ExportForm | |
rules() | lajax\translatemanager\models\ExportForm |
Property Details
The languages to export
The file format in which to export the data (json or xml)
Method Details
Find languages matching the minimumStatus
public lajax\translatemanager\models\Language[] getDefaultExportLanguages ( $minimumStatus ) | ||
$minimumStatus | Int The status of the returned language will be equal or larger than this number. |
public Array getExportData ( ) | ||
return | Array | Generate a two dimensional array of the translation data for the exportLanguages:
|
---|
public void rules ( ) |