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