Exemple #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getJob()
 {
     return $this->hasOne(Job::className(), ['id' => 'job_id']);
 }
Exemple #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getJobs()
 {
     return $this->hasMany(Job::className(), ['idCompany' => 'idUser']);
 }
Exemple #3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getJobs()
 {
     return $this->hasMany(Job::className(), ['idCategory' => 'id']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getJobs()
 {
     return $this->hasMany(Job::className(), ['org_id' => 'id']);
 }