Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // inside my CourseController/actionUpdate
- // a section is a map between course and term
- $section = new Section();
- $section->course_id = $courseID;
- $section->term_id = $termID;
- $section->delete();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement