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