main/newscorm/learnpath.class.php 1 location
|
@@ 92-94 (lines=3) @@
|
89 |
|
public function __construct($course, $lp_id, $user_id) |
90 |
|
{ |
91 |
|
$this->encoding = api_get_system_encoding(); |
92 |
|
if ($this->debug > 0) { |
93 |
|
error_log('New LP - In learnpath::__construct('.$course.','.$lp_id.','.$user_id.')', 0); |
94 |
|
} |
95 |
|
if (empty($course)) { |
96 |
|
$this->error = 'Course code is empty'; |
97 |
|
return false; |
main/newscorm/scorm.class.php 1 location
|
@@ 41-43 (lines=3) @@
|
38 |
|
*/ |
39 |
|
public function __construct($course_code = null, $resource_id = null, $user_id = null) |
40 |
|
{ |
41 |
|
if ($this->debug > 0) { |
42 |
|
error_log('New LP - scorm::scorm('.$course_code.','.$resource_id.','.$user_id.') - In scorm constructor', 0); |
43 |
|
} |
44 |
|
|
45 |
|
parent::__construct($course_code, $resource_id, $user_id); |
46 |
|
} |