PHP Class lajax\translatemanager\controllers\LanguageController

Since: 1.0
Author: Lajos Molnár ([email protected])
Inheritance: extends yii\web\Controller
Show file Open project: lajax/yii2-translate-manager

Public Properties

Property Type Description
$defaultAction
$module TranslateManager module

Public Methods

Method Description
actions ( )
behaviors ( )
createLanguageSourceDataProvider ( array $languageSources ) : ArrayDataProvider Returns an ArrayDataProvider consisting of language elements.
findModel ( string $id ) : Language Finds the Language model based on its primary key value.

Method Details

actions() public method

public actions ( )

behaviors() public method

public behaviors ( )

createLanguageSourceDataProvider() public method

Returns an ArrayDataProvider consisting of language elements.
public createLanguageSourceDataProvider ( array $languageSources ) : ArrayDataProvider
$languageSources array
return yii\data\ArrayDataProvider

findModel() public method

If the model is not found, a 404 HTTP exception will be thrown.
public findModel ( string $id ) : Language
$id string
return Language the loaded model

Property Details

$defaultAction public property

public $defaultAction

$module public property

TranslateManager module
public $module