Commit 7538f16a authored by Shakarim Sapa's avatar Shakarim Sapa

- Fix

parent c345656d
......@@ -69,12 +69,19 @@ class CoContentLang extends \common\components\ActiveRecordModel
public function attributeLabels()
{
return [
'id' => Yii::t('content', 'ID'),
'name' => Yii::t('content', 'Name'),
'image' => 'Превью',
'title' => Yii::t('content', 'Title'),
'text' => Yii::t('content', 'Content'),
'id' => 'id',
'name' => 'name',
'image' => 'image',
'title' => 'title',
'text' => 'text',
];
// return [
// 'id' => Yii::t('content', 'ID'),
// 'name' => Yii::t('content', 'Name'),
// 'image' => 'Превью',
// 'title' => Yii::t('content', 'Title'),
// 'text' => Yii::t('content', 'Content'),
// ];
}
public function beforeSave($insert)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment