예제 #1
0
파일: Field.php 프로젝트: liamGreg/cmf
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getFieldType()
 {
     return $this->hasOne(FieldType::className(), ['id' => 'type']);
 }