Example #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getRefInputTypes()
 {
     return $this->hasMany(RefInputType::className(), ['status_id' => 'id']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getInputType()
 {
     return $this->hasOne(RefInputType::classcontent(), ['id' => 'input_type_id']);
 }