Пример #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getT()
 {
     return $this->hasMany(CsObjectIssuesTranslation::className(), ['object_issue_id' => 'id']);
 }
Пример #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getObjectIssuesTranslations()
 {
     return $this->hasMany(CsObjectIssuesTranslation::className(), ['lang_code' => 'code']);
 }