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