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