4include_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());
53 $date = $a_test->getPassFinishDate($active_id,
$pass);
57 include_once
"Services/Certificate/classes/class.ilCertificate.php";
58 include_once
"Modules/Test/classes/class.ilTestCertificateAdapter.php";
69 $file_name =
"tst_" . $a_test->
getId() .
"_" . $a_user_id .
"_" . $active_id .
".pdf";
71 $newObj->setProperty(
"file", $file_name);
An exception for terminatinating execution or to throw for unit testing.
static createFromTest(ilObjTest $a_test, $a_user_id)
Import relevant properties from given test.
getPropertyMap()
Return property map (name => type)
static _getResultPass($active_id)
Retrieves the pass number that should be counted for a given user.
getActiveIdOfUser($user_id="", $anonymous_id="")
Gets the active id of a given user.
getDescription()
get object description
getId()
get object id @access public
getTitle()
get object title @access public
Test certificate adapter.
Verification object base class.
static initStorage($a_id, $a_subdir=null)
if(@file_exists(dirname(__FILE__).'/lang/eng.php')) $certificate