/**
  * @return \yii\db\ActiveQuery
  */
 public function getParameterFk()
 {
     return $this->hasOne(Parameter::className(), ['parameter_id' => 'parameter_fk']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getParameters()
 {
     return $this->hasMany(Parameter::className(), ['parameter_name_fk' => 'parameter_name_id']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getParameters()
 {
     return $this->hasMany(Parameter::className(), ['attribute_id' => 'attribute_id']);
 }
Beispiel #4
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getParameters()
 {
     return $this->hasMany(Parameter::className(), ['resource_id' => 'resource_id']);
 }
Beispiel #5
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getParameters()
 {
     return $this->hasMany(Parameter::className(), ['parameter_id' => 'parameter_fk'])->viaTable('part_parameter', ['part_fk' => 'part_id']);
 }