Açıklama Yok

TransformativeAction.php 345B

1234567891011121314
  1. <?php
  2. class TransformativeAction extends Eloquent
  3. {
  4. protected $table = 'transformative_actions';
  5. public function scopeStatus($query, $semester_id)
  6. {
  7. return $query->join('transformative_action_status')
  8. ->where('trans_id', $this->id)
  9. ->where('semester_id', $semester_id)
  10. ->first();
  11. }
  12. }