Advertisement
Guest User

Untitled

a guest
Mar 29th, 2015
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. // inside my CourseController/actionUpdate
  2. // a section is a map between course and term
  3. $section = new Section();
  4. $section->course_id = $courseID;
  5. $section->term_id = $termID;
  6. $section->delete();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement