Пример #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getDocuments()
 {
     return $this->hasMany(OrderServiceObjectFiles::className(), ['order_service_id' => 'id']);
 }
Пример #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getOrderServiceObjectFiles()
 {
     return $this->hasMany(OrderServiceObjectFiles::className(), ['file_id' => 'id']);
 }