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/inc/lib/course_entity.class.php

21 lines
467 B

<?php
/**
* Description of course_entity
*
* @license see /license.txt
* @author Laurent Opprecht <laurent@opprecht.info> for the Univesity of Geneva
*/
class CourseEntity extends Entity
{
public function __construct()
{
$current_course = self::current_course();
if ($current_course) {
$this->defaults('c_id', self::current_course()->get_id());
}
$this->defaults('session_id', api_get_session_id());
}
}