Esempio n. 1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getWorks0()
 {
     return $this->hasMany(Work::className(), ['image2' => 'id']);
 }
Esempio n. 2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getWorks()
 {
     return $this->hasMany(Work::className(), ['timesheet_id' => 'id']);
 }
Esempio n. 3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getWorks()
 {
     return $this->hasMany(Work::className(), ['process_id' => 'id']);
 }