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());
57 include_once
"Services/Certificate/classes/class.ilCertificate.php";
58 include_once
"Modules/Test/classes/class.ilTestCertificateAdapter.php";
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.
getPropertyMap()
Return property map (name => type)
getPassFinishDate($active_id, $pass)
Retrieves the number of answered questions for a given user in a given test.
getActiveIdOfUser($user_id="", $anonymous_id="")
Gets the active id of a given user.
_getResultPass($active_id)
Retrieves the pass number that should be counted for a given user.
getDescription()
get object description
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