dokeos
[ class tree: dokeos ] [ index: dokeos ] [ all elements ]

Source for file CourseDescription.class.php

Documentation is available at CourseDescription.class.php

  1. <?php // $Id: CourseDescription.class.php 4940 2005-05-10 13:46:14Z bmol $
  2. /*
  3. ============================================================================== 
  4.     Dokeos - elearning and course management software
  5.     
  6.     Copyright (c) 2004 Dokeos S.A.
  7.     Copyright (c) 2003 Ghent University (UGent)
  8.     Copyright (c) 2001 Universite catholique de Louvain (UCL)
  9.     Copyright (c) Bart Mollet (bart.mollet@hogent.be)
  10.     
  11.     For a full list of contributors, see "credits.txt".
  12.     The full license can be read in "license.txt".
  13.     
  14.     This program is free software; you can redistribute it and/or
  15.     modify it under the terms of the GNU General Public License
  16.     as published by the Free Software Foundation; either version 2
  17.     of the License, or (at your option) any later version.
  18.     
  19.     See the GNU General Public License for more details.
  20.     
  21.     Contact address: Dokeos, 44 rue des palais, B-1030 Brussels, Belgium
  22.     Mail: info@dokeos.com
  23. ============================================================================== 
  24. */
  25. require_once('Resource.class.php');
  26. /**
  27.  * A course description
  28.  * @author Bart Mollet <bart.mollet@hogent.be>
  29.  */
  30. class CourseDescription extends Resource
  31. {
  32.     /**
  33.      * The title
  34.      */
  35.     var $title;
  36.     /**
  37.      * The content
  38.      */
  39.     var $content;
  40.     /**
  41.      * Create a new Event
  42.      * @param int $id 
  43.      * @param string $title 
  44.      * @param string $content 
  45.      * @param string $date 
  46.      */
  47.     function CourseDescription($id,$title,$content)
  48.     {
  49.         parent::Resource($id,RESOURCE_COURSEDESCRIPTION);
  50.         $this->title = $title;
  51.         $this->content = $content;
  52.     }
  53.     /**
  54.      * Show this Event
  55.      */
  56.     function show()
  57.     {
  58.         parent::show();
  59.         echo $this->title;    
  60.     }
  61. }
  62. ?>

Documentation generated on Thu, 12 Jun 2008 13:11:25 -0500 by phpDocumentor 1.4.1