コード例 #1
0
ファイル: Field.php プロジェクト: pistol88/yii2-order
 public function getType()
 {
     return $this->hasOne(FieldType::className(), ['id' => 'type_id'])->one();
 }