You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
625 B
34 lines
625 B
<?php
|
|
|
|
/* For licensing terms, see /license.txt */
|
|
/**
|
|
* Forum category backup class
|
|
* @package chamilo.backup
|
|
*/
|
|
/**
|
|
* Code
|
|
*/
|
|
require_once 'Resource.class.php';
|
|
|
|
/**
|
|
* A forum-category
|
|
* @author Bart Mollet <bart.mollet@hogent.be>
|
|
* @package chamilo.backup
|
|
*/
|
|
class ForumCategory extends Resource {
|
|
/**
|
|
* Create a new ForumCategory
|
|
*/
|
|
function ForumCategory($obj) {
|
|
parent::Resource($obj->cat_id, RESOURCE_FORUMCATEGORY);
|
|
$this->obj = $obj;
|
|
}
|
|
|
|
/**
|
|
* Show this resource
|
|
*/
|
|
function show() {
|
|
parent::show();
|
|
echo $this->obj->cat_title;
|
|
}
|
|
}
|
|
|