/** * @return \yii\db\ActiveQuery */ public function getPresentationObjectPropertyValues() { return $this->hasMany(PresentationObjectPropertyValues::className(), ['id' => 'property_value_id']); }
public function getPresentationObjectPropertyValues() { return $this->hasMany(PresentationObjectPropertyValues::className(), ['presentation_object_property_id' => 'id'])->viaTable('presentation_object_properties', ['presentation_id' => 'id']); }