Ejemplo n.º 1
0
 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     $attributeLabels = parent::attributeLabels();
     $attributeLabels['cms_image_group_i18n_title'] = Yii::t('kalibao', 'model:title');
     return $attributeLabels;
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCmsImageGroup()
 {
     return $this->hasOne(CmsImageGroup::className(), ['id' => 'cms_image_group_id']);
 }