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
912 B
52 lines
912 B
<?php
|
|
/* For licensing terms, see /license.txt */
|
|
/**
|
|
* Link category backup script
|
|
* @package chamilo.backup
|
|
*/
|
|
/**
|
|
* Code
|
|
*/
|
|
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
|
|
*/
|
|
function LinkCategory($id,$title,$description,$display_order)
|
|
{
|
|
parent::Resource($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 />';
|
|
}
|
|
}
|
|
|