Esempio n. 1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getReports()
 {
     return $this->hasMany(Report::className(), ['disability_category' => 'id_disability_category']);
 }
Esempio n. 2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getReports()
 {
     return $this->hasMany(Report::className(), ['problem_category' => 'id_problem_category']);
 }
Esempio n. 3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getReports()
 {
     return $this->hasMany(Report::className(), ['sms_id' => 'idRawSMSData']);
 }
Esempio n. 4
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getReports()
 {
     return $this->hasMany(Report::className(), ['id_language' => 'id_language']);
 }
Esempio n. 5
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getReport()
 {
     return $this->hasOne(Report::className(), ['date' => 'create_time', 'location_id' => 'location_id']);
 }
Esempio n. 6
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getReports()
 {
     return $this->hasMany(Report::className(), ['location_id' => 'id']);
 }