Brak opisu

Template.php 316B

123456789101112131415161718192021
  1. <?php
  2. class Template extends Eloquent
  3. {
  4. public function program()
  5. {
  6. return $this->belongsTo('Program');
  7. }
  8. public function school()
  9. {
  10. return $this->belongsTo('School');
  11. }
  12. public function criteria()
  13. {
  14. return $this->belongsToMany('Criterion','template_criterion');
  15. }
  16. }