Class lajax\translatemanager\models\LanguageTranslate

Inheritancelajax\translatemanager\models\LanguageTranslate » yii\db\ActiveRecord

This is the model class for table "language_translate".

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$cnt integer Number of translated language elements. lajax\translatemanager\models\LanguageTranslate

Property Details

$cnt public property

Number of translated language elements.

public integer $cnt null

Method Details

attributeLabels() public method

public void attributeLabels ( )
getDb() public static method

public static void getDb ( )
getId0() public method

public \yii\db\ActiveQuery getId0 ( )
getLanguage0() public method

public \yii\db\ActiveQuery getLanguage0 ( )
getLanguageName() public method

public string getLanguageName ( )
getLanguageSource() public method

public \yii\db\ActiveQuery getLanguageSource ( )
getLanguageTranslateByIdAndLanguageId() public static method

Returnes language object by id and language_id. If not found, creates a new one.

public static lajax\translatemanager\models\LanguageTranslate getLanguageTranslateByIdAndLanguageId ( $id, $languageId )
$id integer

LanguageSource id

$languageId string

Language language_id

getTranslatedLanguageNames() public method

public array getTranslatedLanguageNames ( )
return array

The name of languages the language element has been translated into.

getTranslatedLanguages() public method

Returns the language element in all other languages.

public lajax\translatemanager\models\LanguageTranslate getTranslatedLanguages ( )
rules() public method

public void rules ( )
tableName() public static method

public static void tableName ( )