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

Source for file ForumCategory.class.php

Documentation is available at ForumCategory.class.php

  1. <?php // $Id: ForumCategory.class.php 3990 2005-03-31 09:55:18Z 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 forum-category
  28.  * @author Bart Mollet <bart.mollet@hogent.be>
  29.  */
  30. class ForumCategory extends Resource
  31. {
  32.     /**
  33.      * The title
  34.      */
  35.     var $title;
  36.     /**
  37.      * Create a new ForumCategory
  38.      */
  39.     function ForumCategory($id,$title)
  40.     {
  41.         parent::Resource($id,RESOURCE_FORUMCATEGORY);
  42.         $this->title = $title;
  43.     }
  44.     /**
  45.      * Show this resource
  46.      */
  47.     function show()
  48.     {
  49.         parent::show();
  50.         echo $this->title;    
  51.     }
  52. }
  53. ?>

Documentation generated on Thu, 12 Jun 2008 13:30:45 -0500 by phpDocumentor 1.4.1