|
ILIAS
eassessment Revision 61809
|
Inheritance diagram for ilSoapTestAdministration:
Collaboration diagram for ilSoapTestAdministration:Public Member Functions | |
| ilSoapTestAdministration () | |
| isAllowedCall ($sid, $active_id, $saveaction=true) | |
| saveQuestion ($sid, $active_id, $question_id, $pass, $solution) | |
| saveQuestionSolution ($sid, $active_id, $question_id, $pass, $solution) | |
| Save the solution of a question. | |
| getQuestionSolution ($sid, $active_id, $question_id, $pass) | |
| Get the the answers of a given question and pass for a given user. | |
| getTestUserData ($sid, $active_id) | |
| get active user data | |
| getPositionOfQuestion ($sid, $active_id, $question_id, $pass) | |
| get active user data | |
| getPreviousReachedPoints ($sid, $active_id, $question_id, $pass) | |
| Returns the previous reached points in a given pass. | |
| getNrOfQuestionsInPass ($sid, $active_id, $pass) | |
| Get the number of questions in a given pass for a given user. | |
| getTestResults ($sid, $test_ref_id, $sum_only) | |
| get results of test | |
| getTestIdByObjId ($sid, $test_obj_id) | |
| Get test ID for an object ID. | |
| getTestRunDates ($sid, $obj_id) | |
| Return array of YYYY-MM-DD date strings for which the test with object ID obj_id has archived runs. | |
| packageTestRun ($sid, $obj_id, $date) | |
| Trigger packaging of archived run for date with YYYY-MM-DD string $date for test with object ID $obj_id. | |
| getTestRunPackageDates ($sid, $obj_id) | |
| Return array of YYYY-MM-DD date strings for which the test with object ID obj_id has ZIP packages of archived runs. | |
| fetchTestRunPackage ($sid, $obj_id, $date) | |
| Return ZIP package of archived run for date. | |
| deleteTestRunPackage ($sid, $obj_id, $date) | |
| Delete package of archived run for $date for test with object ID $obj_id. | |
| obliterateTestRun ($sid, $obj_id, $date) | |
| Delete all remnants of archived run for $date for test with object ID $obj_id. | |
Public Member Functions inherited from ilSoapAdministration | |
| ilSoapAdministration ($use_nusoap=true) | |
| __checkSession ($sid) | |
| initErrorWriter () | |
| Overwrite error handler. | |
| __explodeSid ($sid) | |
| __setMessage ($a_str) | |
| __getMessage () | |
| __appendMessage ($a_str) | |
| __setMessageCode ($a_code) | |
| __getMessageCode () | |
| initAuth ($sid) | |
| initIlias () | |
| __initAuthenticationObject ($a_auth_mode=AUTH_LOCAL) | |
| __raiseError ($a_message, $a_code) | |
| getNIC ($sid) | |
| get client information from current as xml result set | |
| isFault ($object) | |
| checkObjectAccess ($ref_id, $expected_type, $permission, $returnObject=false) | |
| check access for ref id: expected type, permission, return object instance if returnobject is true | |
| getInstallationInfoXML () | |
| getClientInfoXML ($clientid) | |
Private Member Functions | |
| hasWritePermissionForTest ($active_id) | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilSoapAdministration | |
| static | return_bytes ($val) |
| calculate bytes from K,M,G modifiers e.g: 8M = 8 * 1024 * 1024 bytes | |
Data Fields inherited from ilSoapAdministration | |
| $sauth = null | |
| $error_method = null | |
Protected Attributes inherited from ilSoapAdministration | |
| $soap_check = true | |
Definition at line 35 of file class.ilSoapTestAdministration.php.
| ilSoapTestAdministration::deleteTestRunPackage | ( | $sid, | |
| $obj_id, | |||
| $date | |||
| ) |
Delete package of archived run for $date for test with object ID $obj_id.
| string | $sid | Session ID |
| int | $obj_id | Test object ID |
| string | $date | Date of run package to delete, YYYY-MM-DD format |
Definition at line 863 of file class.ilSoapTestAdministration.php.
References ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
Here is the call graph for this function:| ilSoapTestAdministration::fetchTestRunPackage | ( | $sid, | |
| $obj_id, | |||
| $date | |||
| ) |
Return ZIP package of archived run for date.
| string | $sid | Session ID |
| int | $obj_id | Test object ID |
| string | $date | YYYY-MM-DD string specifying run date |
Definition at line 820 of file class.ilSoapTestAdministration.php.
References $filename, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
Here is the call graph for this function:| ilSoapTestAdministration::getNrOfQuestionsInPass | ( | $sid, | |
| $active_id, | |||
| $pass | |||
| ) |
Get the number of questions in a given pass for a given user.
| string | $sid | Session ID |
| long | $active_id | Active user ID |
| integer | $pass | Test pass |
Definition at line 532 of file class.ilSoapTestAdministration.php.
References $ilDB, $lng, $pass, $row, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and isAllowedCall().
Here is the call graph for this function:| ilSoapTestAdministration::getPositionOfQuestion | ( | $sid, | |
| $active_id, | |||
| $question_id, | |||
| $pass | |||
| ) |
get active user data
| string | $sid | Session ID |
| long | $active_id | Active user ID |
| integer | $question_id | Question ID |
| integer | $pass | Test pass |
Definition at line 429 of file class.ilSoapTestAdministration.php.
References $ilDB, $lng, $pass, $row, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and isAllowedCall().
Here is the call graph for this function:| ilSoapTestAdministration::getPreviousReachedPoints | ( | $sid, | |
| $active_id, | |||
| $question_id, | |||
| $pass | |||
| ) |
Returns the previous reached points in a given pass.
| string | $sid | Session ID |
| long | $active_id | Active user ID |
| integer | $question_id | Question ID |
| integer | $pass | Test pass |
Definition at line 468 of file class.ilSoapTestAdministration.php.
References $ilDB, $lng, $pass, $row, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and isAllowedCall().
Here is the call graph for this function:| ilSoapTestAdministration::getQuestionSolution | ( | $sid, | |
| $active_id, | |||
| $question_id, | |||
| $pass | |||
| ) |
Get the the answers of a given question and pass for a given user.
| string | $sid | Session ID |
| long | $active_id | Active user ID |
| integer | $question_id | Question ID |
| integer | $pass | Test pass |
Definition at line 278 of file class.ilSoapTestAdministration.php.
References $ilDB, $pass, $row, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and isAllowedCall().
Here is the call graph for this function:| ilSoapTestAdministration::getTestIdByObjId | ( | $sid, | |
| $test_obj_id | |||
| ) |
Get test ID for an object ID.
| string | $sid | Session ID |
| int | $test_obj_id | Test object ID |
Definition at line 689 of file class.ilSoapTestAdministration.php.
References ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
Here is the call graph for this function:| ilSoapTestAdministration::getTestResults | ( | $sid, | |
| $test_ref_id, | |||
| $sum_only | |||
| ) |
get results of test
| string | $sid | |
| int | $test_ref_id | |
| boolean | $sum_only |
Definition at line 573 of file class.ilSoapTestAdministration.php.
References $data, $ilLog, $ref_id, $row, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_getAllReferences(), ilObject\_isInTrash(), ilObject\_lookupObjectId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
Here is the call graph for this function:| ilSoapTestAdministration::getTestRunDates | ( | $sid, | |
| $obj_id | |||
| ) |
Return array of YYYY-MM-DD date strings for which the test with object ID obj_id has archived runs.
| string | $sid | Session ID |
| int | $obj_id | Test object ID |
Definition at line 722 of file class.ilSoapTestAdministration.php.
References ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
Here is the call graph for this function:| ilSoapTestAdministration::getTestRunPackageDates | ( | $sid, | |
| $obj_id | |||
| ) |
Return array of YYYY-MM-DD date strings for which the test with object ID obj_id has ZIP packages of archived runs.
| string | $sid | Session ID |
| int | $obj_id | Test object ID |
Definition at line 788 of file class.ilSoapTestAdministration.php.
References ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
Here is the call graph for this function:| ilSoapTestAdministration::getTestUserData | ( | $sid, | |
| $active_id | |||
| ) |
get active user data
| string | $sid | |
| long | $active_id |
Definition at line 351 of file class.ilSoapTestAdministration.php.
References $data, $ilDB, $lng, $row, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and isAllowedCall().
Here is the call graph for this function:
|
private |
Definition at line 42 of file class.ilSoapTestAdministration.php.
References $ilDB, $ref_id, $row, and ilObject\_getAllReferences().
Referenced by isAllowedCall().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSoapTestAdministration::ilSoapTestAdministration | ( | ) |
Definition at line 37 of file class.ilSoapTestAdministration.php.
References ilSoapAdministration\ilSoapAdministration().
Here is the call graph for this function:| ilSoapTestAdministration::isAllowedCall | ( | $sid, | |
| $active_id, | |||
$saveaction = true |
|||
| ) |
Definition at line 68 of file class.ilSoapTestAdministration.php.
References $client, $diff, $ilDB, $row, and hasWritePermissionForTest().
Referenced by getNrOfQuestionsInPass(), getPositionOfQuestion(), getPreviousReachedPoints(), getQuestionSolution(), getTestUserData(), saveQuestion(), and saveQuestionSolution().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSoapTestAdministration::obliterateTestRun | ( | $sid, | |
| $obj_id, | |||
| $date | |||
| ) |
Delete all remnants of archived run for $date for test with object ID $obj_id.
| string | $sid | Session ID |
| int | $obj_id | Test object ID |
| string | $date | Date of run to package, YYYY-MM-DD format |
Definition at line 895 of file class.ilSoapTestAdministration.php.
References ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
Here is the call graph for this function:| ilSoapTestAdministration::packageTestRun | ( | $sid, | |
| $obj_id, | |||
| $date | |||
| ) |
Trigger packaging of archived run for date with YYYY-MM-DD string $date for test with object ID $obj_id.
| string | $sid | Session ID |
| int | $obj_id | Test object ID |
| string | $date | Date of run to package, YYYY-MM-DD format |
Definition at line 755 of file class.ilSoapTestAdministration.php.
References ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
Here is the call graph for this function:| ilSoapTestAdministration::saveQuestion | ( | $sid, | |
| $active_id, | |||
| $question_id, | |||
| $pass, | |||
| $solution | |||
| ) |
Definition at line 129 of file class.ilSoapTestAdministration.php.
References $GLOBALS, $ilDB, $pass, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), assQuestion\_instanciateQuestion(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and isAllowedCall().
Here is the call graph for this function:| ilSoapTestAdministration::saveQuestionSolution | ( | $sid, | |
| $active_id, | |||
| $question_id, | |||
| $pass, | |||
| $solution | |||
| ) |
Save the solution of a question.
| string | $sid | Session ID |
| long | $active_id | Active user ID |
| integer | $question_id | Question ID |
| integer | $pass | Test pass |
| string | $solution | XML string containing the solution |
Definition at line 193 of file class.ilSoapTestAdministration.php.
References $GLOBALS, $ilDB, $pass, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), assQuestion\_instanciateQuestion(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and isAllowedCall().
Here is the call graph for this function: