Beispiel #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getStaff()
 {
     return $this->hasMany(Staff::className(), ['dpto_nombre' => 'nombre']);
 }
 /**
  *
  * @return \yii\db\ActiveQuery
  */
 public function getOwner0()
 {
     return $this->hasOne(Staff::className(), ['formalemail' => 'owner']);
 }
Beispiel #3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getReqBy()
 {
     return $this->hasOne(Staff::className(), ['staff_id' => 'req_by']);
 }
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getStaff()
 {
     return $this->hasOne(Staff::className(), ['formalemail' => 'staffID']);
 }
Beispiel #5
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getStaff()
 {
     return $this->hasMany(Staff::className(), ['position_id' => 'positio_id']);
 }
Beispiel #6
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getStaff()
 {
     return $this->hasMany(Staff::className(), ['department_id' => 'department_id']);
 }