| @@ 47-53 (lines=7) @@ | ||
| 44 | * @param integer $resource_id Learnpath ID in DB |
|
| 45 | * @param integer $user_id |
|
| 46 | */ |
|
| 47 | public function __construct($course_code = null, $resource_id = null, $user_id = null) |
|
| 48 | { |
|
| 49 | if ($this->debug > 0) { error_log('In aicc::aicc()', 0); } |
|
| 50 | if (!empty($course_code) && !empty($resource_id) && !empty($user_id)) { |
|
| 51 | parent::__construct($course_code, $resource_id, $user_id); |
|
| 52 | } |
|
| 53 | } |
|
| 54 | ||
| 55 | /** |
|
| 56 | * Opens a resource |
|
| @@ 30-38 (lines=9) @@ | ||
| 27 | * @param integer Learnpath ID in DB |
|
| 28 | * @param integer User ID |
|
| 29 | */ |
|
| 30 | public function __construct($course_code = null, $resource_id = null, $user_id = null) |
|
| 31 | { |
|
| 32 | if ($this->debug > 0) { |
|
| 33 | error_log('In OpenofficeDocument::OpenofficeDocument()', 0); |
|
| 34 | } |
|
| 35 | if (!empty($course_code) && !empty($resource_id) && !empty($user_id)) { |
|
| 36 | parent::__construct($course_code, $resource_id, $user_id); |
|
| 37 | } |
|
| 38 | } |
|
| 39 | ||
| 40 | /** |
|
| 41 | * @param string $file |
|