CourseSession.class.php 562 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. require_once('Resource.class.php');
  4. /*
  5. * A course session
  6. * @author Jhon Hinojosa <jhon.hinojosa@beeznest.com>
  7. * @package chamilo.backup
  8. **/
  9. class CourseSession extends Resource {
  10. var $title; // The title session
  11. /*
  12. * Create a new Session
  13. * @param int $id
  14. * @param string $title
  15. */
  16. function CourseSession($id,$title) {
  17. parent::Resource($id,RESOURCE_SESSION_COURSE);
  18. $this->title = $title;
  19. }
  20. /*
  21. * Show this Event
  22. */
  23. function show() {
  24. parent::show();
  25. echo $this->title;
  26. }
  27. }