public static function addCourses($id, $coursesIds, $termId) { self::validateCoursesId($coursesIds); Term::validateId($termId); Tutor_has_course_has_termFetcher::insertMany($id, $coursesIds, $termId); }
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ /** * @author Rizart Dokollari * @author George Skarlatos * @since 9/19/2014 */ require __DIR__ . '/../app/init.php'; $general->loggedOutProtect(); $pageTitle = "Current Facilitated Courses"; $section = "staff"; $tutors = TutorFetcher::retrieveAll(); $currentTerms = TermFetcher::retrieveCurrTerm(); //$users = UserFetcher:: $courses = Tutor_has_course_has_termFetcher::retrieveCurrTermAllTeachingCourses(); ?> <!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> <?php require ROOT_PATH . 'views/head.php'; ?> <body> <div id="wrapper">