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.
43 lines
911 B
43 lines
911 B
<?php
|
|
/* For licensing terms, see /license.txt */
|
|
|
|
require_once 'Resource.class.php';
|
|
|
|
/**
|
|
* Class CourseCopyTestcategory
|
|
* @author Hubert Borderiou <hubert.borderiou@grenet.fr>
|
|
* @package chamilo.backup
|
|
*/
|
|
class CourseCopyTestcategory extends Resource
|
|
{
|
|
/**
|
|
* The title
|
|
*/
|
|
var $title;
|
|
|
|
/**
|
|
* The description
|
|
*/
|
|
var $description;
|
|
|
|
/**
|
|
* Create a new TestCategory
|
|
* @param string $title
|
|
* @param string $description
|
|
*/
|
|
public function __construct($id, $title, $description)
|
|
{
|
|
parent::__construct($id, RESOURCE_TEST_CATEGORY);
|
|
$this->title = $title;
|
|
$this->description = $description;
|
|
}
|
|
|
|
/**
|
|
* Show the test_category title, used in the partial recycle_course.php form
|
|
*/
|
|
function show()
|
|
{
|
|
parent::show();
|
|
echo $this->title;
|
|
}
|
|
}
|
|
|