예제 #1
0
 /**
  * Class constructor. Based on the parent constructor.
  * @param	string	Course code
  * @param	integer	Learnpath ID in DB
  * @param	integer	User ID
  */
 public function __construct($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);
     }
     parent::__construct($course_code, $resource_id, $user_id);
 }
예제 #2
0
 /**
  * Class constructor. Based on the parent constructor.
  * @param	string	Course code
  * @param	integer	Learnpath ID in DB
  * @param	integer	User ID
  */
 public function __construct($course_code = null, $resource_id = null, $user_id = null) {
     if ($this->debug > 0) { error_log('In aicc::aicc()', 0); }
     if (!empty($course_code) && !empty($resource_id) && !empty($user_id)) {
         parent::__construct($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
  */
 public function __construct($course_code = null, $resource_id = null, $user_id = null)
 {
     if ($this->debug > 0) {
         error_log('In OpenofficeDocument::OpenofficeDocument()', 0);
     }
     if (!empty($course_code) && !empty($resource_id) && !empty($user_id)) {
         parent::__construct($course_code, $resource_id, $user_id);
     }
 }
예제 #4
0
 /**
  * Class constructor. Based on the parent constructor.
  * @param    string    Course code
  * @param    integer    Learnpath ID in DB
  * @param    integer    User ID
  */
 function __construct($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) && !empty($resource_id) && !empty($user_id)) {
         parent::__construct($course_code, $resource_id, $user_id);
     } else {
         // Do nothing but still build the scorm object.
     }
 }
 /**
  * Class constructor. Based on the parent constructor.
  * @param    string    Course code
  * @param    integer    Learnpath ID in DB
  * @param    integer    User ID
  */
 public function __construct($course_code = null, $resource_id = null, $user_id = null)
 {
     if ($this->debug > 0) {
         error_log('In OpenofficeDocument::OpenofficeDocument()', 0);
     }
     if (!empty($course_code) && !empty($resource_id) && !empty($user_id)) {
         parent::__construct($course_code, $resource_id, $user_id);
     } else {
         // Do nothing but still build the presentation object.
     }
 }