ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
ilSoapTestAdministration () | |
isAllowedCall ($sid, $active_id) | |
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 | |
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) |
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::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 484 of file class.ilSoapTestAdministration.php.
References $ilDB, $lng, $pass, $result, $row, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and isAllowedCall().
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 381 of file class.ilSoapTestAdministration.php.
References $ilDB, $lng, $pass, $result, $row, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and isAllowedCall().
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 420 of file class.ilSoapTestAdministration.php.
References $ilDB, $lng, $pass, $result, $row, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and isAllowedCall().
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 230 of file class.ilSoapTestAdministration.php.
References $ilDB, $pass, $result, $row, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and isAllowedCall().
ilSoapTestAdministration::getTestResults | ( | $sid, | |
$test_ref_id, | |||
$sum_only | |||
) |
get results of test
string | $sid | |
int | $test_ref_id | |
boolean | $sum_only |
Definition at line 525 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().
ilSoapTestAdministration::getTestUserData | ( | $sid, | |
$active_id | |||
) |
get active user data
string | $sid | |
long | $active_id |
Definition at line 303 of file class.ilSoapTestAdministration.php.
References $data, $ilDB, $lng, $result, $row, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and isAllowedCall().
ilSoapTestAdministration::ilSoapTestAdministration | ( | ) |
Definition at line 37 of file class.ilSoapTestAdministration.php.
References ilSoapAdministration\ilSoapAdministration().
ilSoapTestAdministration::isAllowedCall | ( | $sid, | |
$active_id | |||
) |
Definition at line 42 of file class.ilSoapTestAdministration.php.
References $client, $diff, $ilDB, $result, and $row.
Referenced by getNrOfQuestionsInPass(), getPositionOfQuestion(), getPreviousReachedPoints(), getQuestionSolution(), getTestUserData(), saveQuestion(), and saveQuestionSolution().
ilSoapTestAdministration::saveQuestion | ( | $sid, | |
$active_id, | |||
$question_id, | |||
$pass, | |||
$solution | |||
) |
Definition at line 81 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().
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 145 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().