Class lajax\translatemanager\models\LanguageTranslate
Inheritance | lajax\translatemanager\models\LanguageTranslate » yii\db\ActiveRecord |
---|
This is the model class for table "language_translate".
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$cnt | integer | Number of translated language elements. | lajax\translatemanager\models\LanguageTranslate |
Public Methods
Method | Description | Defined By |
---|---|---|
attributeLabels() | lajax\translatemanager\models\LanguageTranslate | |
getId0() | lajax\translatemanager\models\LanguageTranslate | |
getLanguage0() | lajax\translatemanager\models\LanguageTranslate | |
getLanguageName() | lajax\translatemanager\models\LanguageTranslate | |
getLanguageSource() | lajax\translatemanager\models\LanguageTranslate | |
getLanguageTranslateByIdAndLanguageId() | Returnes language object by id and language_id. If not found, creates a new one. | lajax\translatemanager\models\LanguageTranslate |
getTranslatedLanguageNames() | lajax\translatemanager\models\LanguageTranslate | |
getTranslatedLanguages() | Returns the language element in all other languages. | lajax\translatemanager\models\LanguageTranslate |
rules() | lajax\translatemanager\models\LanguageTranslate | |
tableName() | lajax\translatemanager\models\LanguageTranslate |
Property Details
Method Details
public void attributeLabels ( ) |
public \yii\db\ActiveQuery getId0 ( ) |
public \yii\db\ActiveQuery getLanguage0 ( ) |
public string getLanguageName ( ) |
public \yii\db\ActiveQuery getLanguageSource ( ) |
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 |
public array getTranslatedLanguageNames ( ) | ||
return | array | The name of languages the language element has been translated into. |
---|
Returns the language element in all other languages.
public lajax\translatemanager\models\LanguageTranslate getTranslatedLanguages ( ) |
public void rules ( ) |
public static void tableName ( ) |