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.
52 lines
833 B
52 lines
833 B
<?php
|
|
/* For licensing terms, see /license.txt */
|
|
|
|
require_once 'Resource.class.php';
|
|
|
|
/**
|
|
* A forum-category
|
|
* @author Bart Mollet <bart.mollet@hogent.be>
|
|
*/
|
|
class ForumCategory extends Resource
|
|
{
|
|
/**
|
|
* The title
|
|
*/
|
|
var $title;
|
|
/**
|
|
* The description
|
|
*/
|
|
var $description;
|
|
/**
|
|
* The order
|
|
*/
|
|
var $order;
|
|
/**
|
|
* Locked flag
|
|
*/
|
|
var $locked;
|
|
/**
|
|
* The session id
|
|
*/
|
|
var $session_id;
|
|
/**
|
|
* Create a new ForumCategory
|
|
*/
|
|
function ForumCategory($id, $title, $description, $order, $locked, $session_id)
|
|
{
|
|
parent::Resource($id,RESOURCE_FORUMCATEGORY);
|
|
$this->title = $title;
|
|
$this->description = $description;
|
|
$this->order = $order;
|
|
$this->locked = $locked;
|
|
$this->session_id = $session_id;
|
|
}
|
|
/**
|
|
* Show this resource
|
|
*/
|
|
function show()
|
|
{
|
|
parent::show();
|
|
echo $this->title;
|
|
}
|
|
}
|
|
|