Chamilo is a learning management system focused on ease of use and accessibility
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.
chamilo-lms/main/coursecopy/classes/LinkCategory.class.php

47 lines
833 B

<?php
/* For licensing terms, see /license.txt */
require_once 'Resource.class.php';
/**
* A LinkCategory
* @author Bart Mollet <bart.mollet@hogent.be>
* @package chamilo.backup
*/
class LinkCategory extends Resource
{
/**
* The title
*/
var $title;
/**
* The description
*/
var $description;
/**
* The display order
*/
var $display_order;
/**
* Create a new LinkCategory
* @param int $id
* @param string $title
* @param string $description
*/
10 years ago
function __construct($id,$title,$description,$display_order)
{
10 years ago
parent::__construct($id,RESOURCE_LINKCATEGORY);
$this->title = $title;
$this->description = $description;
$this->display_order = $display_order;
}
/**
* Show this LinkCategory
*/
function show()
{
parent::show();
echo $this->title.' '.$this->description.'<br />';
}
}