/** * Class constructor. Based on the parent constructor. * @param string Course code * @param integer Learnpath ID in DB * @param integer User ID */ function aicc($course_code = null, $resource_id = null, $user_id = null) { if ($this->debug > 0) { error_log('In aicc::aicc()', 0); } if (!empty($course_code) and !empty($resource_id) and !empty($user_id)) { parent::learnpath($course_code, $resource_id, $user_id); } else { //do nothing but still build the aicc object } }
/** * Class constructor. Based on the parent constructor. * @param string Course code * @param integer Learnpath ID in DB * @param integer User ID */ function scorm($course_code = null, $resource_id = null, $user_id = null) { if ($this->debug > 0) { error_log('New LP - scorm::scorm(' . $course_code . ',' . $resource_id . ',' . $user_id . ') - In scorm constructor', 0); } if (!empty($course_code) and !empty($resource_id) and !empty($user_id)) { parent::learnpath($course_code, $resource_id, $user_id); } else { //do nothing but still build the scorm object } }