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