Exemple #1
0
 public function getType()
 {
     return $this->hasOne(FieldType::className(), ['id' => 'type_id'])->one();
 }