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/Attendance.class.php

40 lines
685 B

<?php
/* For licensing terms, see /license.txt */
require_once 'Resource.class.php';
/**
* Attendance backup script
* @package chamilo.backup
*/
class Attendance extends Resource
{
public $params = array();
public $attendance_calendar = array();
/**
* Create a new Thematic
*
* @param array parameters
*/
public function __construct($params)
{
parent::Resource($params['id'], RESOURCE_ATTENDANCE);
$this->params = $params;
}
/**
* @inheritdoc
*/
public function show()
{
parent::show();
echo $this->params['name'];
}
public function add_attendance_calendar($data)
{
$this->attendance_calendar[] = $data;
}
}