Source for file view_course.php

Documentation is available at view_course.php

  1. <?php
  2. /**
  3. * Interface script to view SLOODLE information about a particular course.
  4. * Parameter 'id' should identify which course is being viewed.
  5. *
  6. @package sloodle
  7. @copyright Copyright (c) 2008 Sloodle (various contributors)
  8. @license http://www.gnu.org/licenses/gpl-3.0.html GNU GPL v3
  9. *
  10. @contributor Peter R. Bloomfield
  11. */
  12.  
  13. /** SLOODLE and Moodle configuration */
  14. require_once('sl_config.php');
  15. /** General SLOODLE library functionality */
  16. require_once(SLOODLE_LIBROOT.'/general.php');
  17.  
  18.  
  19. // View the course
  20. if (!sloodle_view('course')) error('SLOODLE: failed to display course view');
  21.  
  22. ?>

Documentation generated on Fri, 17 Jul 2009 11:02:46 +0100 by phpDocumentor 1.4.0