all_classes.php

File

classes/all_classes.php
View source
  1. <?php
  2. /*
  3. This file simply includes all the class files. It makes it easier
  4. for scripts to include just this one file (allClasses.php) rather
  5. than the individual class files.
  6. */
  7. // Note: $levels_deep will have been set (or not) by another script. This
  8. // is so that you can send "../../" or whatever if you need to. Currently
  9. // used in routines/routines.php.
  10. if (!isset($levels_deep)) $levels_deep = "";
  11. // These are the various class files we need to load. These
  12. // are all overridden by the files in custom/classes, even if nothing
  13. // is changed. This is how FlightPath lets you override core functionality
  14. // without actually editing core files.
  15. //
  16. // If you need to make changes, make them in custom/classes.
  17. require_once("_AdvisingScreen.php");
  18. require_once("_AdvisingScreenTypeView.php");
  19. require_once("_DatabaseHandler.php");
  20. require_once("_Course.php");
  21. require_once("_StandardizedTest.php");
  22. require_once("ObjList.php");
  23. require_once("_CourseList.php");
  24. require_once("_Group.php");
  25. require_once("_GroupList.php");
  26. require_once("_Semester.php");
  27. require_once("_DegreePlan.php");
  28. require_once("_Substitution.php");
  29. require_once("_SubstitutionList.php");
  30. require_once("_Student.php");
  31. require_once("_FlightPath.php");
  32. // Now, once these are loaded, require the user-created ones...
  33. require_once("$levels_deep" . "custom/classes/all_custom_classes.php");