4 include_once (
'./Services/Verification/classes/class.ilVerificationObject.php');
24 return array(
"issued_on" => self::TYPE_DATE,
25 "file" => self::TYPE_STRING
39 $lng->loadLanguageModule(
"sahs");
42 $newObj->setTitle($a_lm->
getTitle());
45 include_once
"Services/Tracking/classes/class.ilLPMarks.php";
47 $newObj->setProperty(
"issued_on",
51 if(!stristr(get_class($a_lm),
"2004"))
61 "last_access" => $last_access
63 include_once
"Services/Certificate/classes/class.ilCertificate.php";
64 include_once
"Modules/ScormAicc/classes/class.ilSCORMCertificateAdapter.php";
74 $path = self::initStorage($newObj->getId(),
"certificate");
76 $file_name =
"sahs_".$a_lm->getId().
"_".$a_user_id.
".pdf";
79 $newObj->setProperty(
"file", $file_name);
static _lookupLastAccess($a_obj_id, $a_usr_id)
Return the last access timestamp for a given user.
static createFromSCORMLM(ilObjSAHSLearningModule $a_lm, $a_user_id)
Import relevant properties from given learning module.
static _lookupLastAccess($a_obj_id, $a_usr_id)
Return the last access timestamp for a given user.
if(@file_exists(dirname(__FILE__).'/lang/eng.php')) $certificate
Verification object base class.
getId()
get object id public
getTitle()
get object title public
getDescription()
get object description
Create styles array
The data for the language used.
SCORM certificate adapter.
static _lookupFields($a_user_id)
lookup fields (deprecated; use more specific methods instead)
Class ilObjSCORMLearningModule.