Няма описание

Objective_Outcome.php 808B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. use Illuminate\Database\Eloquent\SoftDeletingTrait;
  3. class Objective_Outcome extends Eloquent
  4. {
  5. use SoftDeletingTrait;
  6. protected $fillable = array('outcome_id', 'objective_id');
  7. protected $table = 'objective_outcome';
  8. /**
  9. * Return the program that the objective belongs to
  10. *
  11. * @return Illuminate\Database\Eloquent\Model
  12. */
  13. public function outcome()
  14. {
  15. return $this->belongsTo('Outcome');
  16. }
  17. /**
  18. * Return the outcomes that the objective belongs to
  19. *
  20. * @return Illuminate\Database\Eloquent\Model
  21. */
  22. /**
  23. * Return the program that the objective belongs to
  24. *
  25. * @return Illuminate\Database\Eloquent\Model
  26. */
  27. public function objective()
  28. {
  29. return $this->belongsTo('Objective');
  30. }
  31. }