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(
"crs");
42 $newObj->setTitle($a_course->
getTitle());
45 include_once
"Services/Tracking/classes/class.ilLPMarks.php";
47 $newObj->setProperty(
"issued_on",
51 include_once
"Services/Certificate/classes/class.ilCertificate.php";
52 include_once
"Modules/Course/classes/class.ilCourseCertificateAdapter.php";
62 $path = self::initStorage($newObj->getId(),
"certificate");
64 $file_name =
"crs_".$a_course->getId().
"_".$a_user_id.
".pdf";
67 $newObj->setProperty(
"file", $file_name);
static createFromCourse(ilObjCourse $a_course, $a_user_id)
Import relevant properties from given course.
if(@file_exists(dirname(__FILE__).'/lang/eng.php')) $certificate
Test certificate adapter.
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.