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.
30 lines
542 B
30 lines
542 B
<?php
|
|
/* For licensing terms, see /dokeos_license.txt */
|
|
require_once('Resource.class.php');
|
|
|
|
/*
|
|
* A course session
|
|
* @author Jhon Hinojosa <jhon.hinojosa@dokeos.com>
|
|
**/
|
|
class CourseSession extends Resource {
|
|
var $title; // The title session
|
|
|
|
/*
|
|
* Create a new Session
|
|
* @param int $id
|
|
* @param string $title
|
|
*/
|
|
function CourseSession($id,$title) {
|
|
parent::Resource($id,RESOURCE_SESSION_COURSE);
|
|
$this->title = $title;
|
|
}
|
|
|
|
/*
|
|
* Show this Event
|
|
*/
|
|
function show() {
|
|
parent::show();
|
|
echo $this->title;
|
|
}
|
|
}
|
|
?>
|