4 include_once (
'./Services/Verification/classes/class.ilVerificationObject.php');
24 return array(
"issued_on" => self::TYPE_DATE,
25 "file" => self::TYPE_STRING
44 $lng->loadLanguageModule(
"wsp");
47 $newObj->setTitle($a_test->
getTitle());
57 include_once
"Services/Certificate/classes/class.ilCertificate.php";
58 include_once
"Modules/Test/classes/class.ilTestCertificateAdapter.php";
68 $path = self::initStorage($newObj->getId(),
"certificate");
70 $file_name =
"tst_".$a_test->getId().
"_".$a_user_id.
"_".$active_id.
".pdf";
73 $newObj->setProperty(
"file", $file_name);
static createFromTest(ilObjTest $a_test, $a_user_id)
Import relevant properties from given test.
getActiveIdOfUser($user_id="", $anonymous_id="")
Gets the active id of a given user.
if(@file_exists(dirname(__FILE__).'/lang/eng.php')) $certificate
Verification object base class.
static _getResultPass($active_id)
Retrieves the pass number that should be counted for a given user.
getTitle()
get object title public
getDescription()
get object description
Create styles array
The data for the language used.
getPassFinishDate($active_id, $pass)
Retrieves the number of answered questions for a given user in a given test.
Test certificate adapter.