ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
This class handles all DB changes necessary for fraunhofer. More...
Public Member Functions | |
getProgressInfo ($sid, $a_ref_id, $a_progress_filter) | |
getLearningProgressChanges ($sid, $timestamp, $include_ref_ids, $type_filter) | |
Get learning progress changes. More... | |
Public Member Functions inherited from ilSoapAdministration | |
__construct ($use_nusoap=true) | |
Constructor. More... | |
initErrorWriter () | |
Overwrite error handler. More... | |
__explodeSid ($sid) | |
__setMessage ($a_str) | |
__getMessage () | |
__appendMessage ($a_str) | |
__setMessageCode ($a_code) | |
__getMessageCode () | |
initAuth ($sid) | |
Init authentication. More... | |
initIlias () | |
__initAuthenticationObject ($a_auth_mode=AUTH_LOCAL) | |
__raiseError ($a_message, $a_code) | |
getNIC ($sid) | |
get client information from current as xml result set More... | |
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 More... | |
getInstallationInfoXML () | |
getClientInfoXML ($clientid) | |
Data Fields | |
const | PROGRESS_FILTER_ALL = 0 |
const | PROGRESS_FILTER_IN_PROGRESS = 1 |
const | PROGRESS_FILTER_COMPLETED = 2 |
const | PROGRESS_FILTER_FAILED = 3 |
const | PROGRESS_FILTER_NOT_ATTEMPTED = 4 |
const | SOAP_LP_ERROR_AUTHENTICATION = 50 |
const | SOAP_LP_ERROR_INVALID_FILTER = 52 |
const | SOAP_LP_ERROR_INVALID_REF_ID = 54 |
const | SOAP_LP_ERROR_LP_NOT_AVAILABLE = 56 |
const | SOAP_LP_ERROR_NO_PERMISSION = 58 |
const | SOAP_LP_ERROR_LP_NOT_ENABLED = 60 |
const | USER_FILTER_ALL = -1 |
Data Fields inherited from ilSoapAdministration | |
$sauth = null | |
$error_method = null | |
Protected Member Functions | |
addUserProgress (ilXmlWriter $writer, $users, $a_type) | |
applyProgressFilter ($obj_id, Array $usr_ids, Array $filter) | |
Apply progress filter. More... | |
deleteScormTracking ($a_obj_id, $a_usr_ids) | |
Delete SCORM Tracking type $ilDB. More... | |
deleteScorm2004Tracking ($a_obj_id, $a_usr_ids) | |
Delete scorm 2004 tracking. More... | |
Static Protected Attributes | |
static | $DELETE_PROGRESS_FILTER_TYPES = array('sahs', 'tst') |
static | $PROGRESS_INFO_TYPES |
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 More... | |
Protected Attributes inherited from ilSoapAdministration | |
$soap_check = true | |
This class handles all DB changes necessary for fraunhofer.
Definition at line 14 of file class.ilSoapLearningProgressAdministration.php.
|
protected |
Definition at line 311 of file class.ilSoapLearningProgressAdministration.php.
References $a_type, $info, ilObjUser\_lookupName(), array, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getProgressInfo().
|
protected |
Apply progress filter.
int | $obj_id | |
array | $usr_ids | |
array | $filter |
Definition at line 341 of file class.ilSoapLearningProgressAdministration.php.
References $GLOBALS, ilLPStatusWrapper\_getCompleted(), ilLPStatusWrapper\_getFailed(), ilLPStatusWrapper\_getInProgress(), and array.
|
protected |
Delete scorm 2004 tracking.
type | $a_obj_id | |
type | $a_usr_ids |
Definition at line 412 of file class.ilSoapLearningProgressAdministration.php.
References $ilDB, $query, $res, $row, array, and ilDBConstants\FETCHMODE_OBJECT.
|
protected |
Delete SCORM Tracking type $ilDB.
type | $a_obj_id | |
type | $a_usr_ids |
Definition at line 396 of file class.ilSoapLearningProgressAdministration.php.
References $ilDB, $query, and $res.
ilSoapLearningProgressAdministration::getLearningProgressChanges | ( | $sid, | |
$timestamp, | |||
$include_ref_ids, | |||
$type_filter | |||
) |
Get learning progress changes.
Definition at line 437 of file class.ilSoapLearningProgressAdministration.php.
References $ilLog, $timestamp, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapLearningProgressAdministration::getProgressInfo | ( | $sid, | |
$a_ref_id, | |||
$a_progress_filter | |||
) |
Definition at line 172 of file class.ilSoapLearningProgressAdministration.php.
References ilSoapAdministration\__getMessage(), ilSoapAdministration\__raiseError(), ilObjUserTracking\_enabledLearningProgress(), ilLPStatusWrapper\_getCompleted(), ilLPStatusWrapper\_getCountCompleted(), ilLPStatusWrapper\_getCountFailed(), ilLPStatusWrapper\_getCountInProgress(), ilLPStatusWrapper\_getCountNotAttempted(), ilLPStatusWrapper\_getFailed(), ilLPStatusWrapper\_getInProgress(), ilLPStatusWrapper\_getNotAttempted(), ilLPObjSettings\_lookupDBMode(), addUserProgress(), array, ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilLPObjSettings\LP_MODE_UNDEFINED.
|
staticprotected |
Definition at line 16 of file class.ilSoapLearningProgressAdministration.php.
|
staticprotected |
Definition at line 31 of file class.ilSoapLearningProgressAdministration.php.
const ilSoapLearningProgressAdministration::PROGRESS_FILTER_ALL = 0 |
Definition at line 18 of file class.ilSoapLearningProgressAdministration.php.
const ilSoapLearningProgressAdministration::PROGRESS_FILTER_COMPLETED = 2 |
Definition at line 20 of file class.ilSoapLearningProgressAdministration.php.
const ilSoapLearningProgressAdministration::PROGRESS_FILTER_FAILED = 3 |
Definition at line 21 of file class.ilSoapLearningProgressAdministration.php.
const ilSoapLearningProgressAdministration::PROGRESS_FILTER_IN_PROGRESS = 1 |
Definition at line 19 of file class.ilSoapLearningProgressAdministration.php.
const ilSoapLearningProgressAdministration::PROGRESS_FILTER_NOT_ATTEMPTED = 4 |
Definition at line 22 of file class.ilSoapLearningProgressAdministration.php.
const ilSoapLearningProgressAdministration::SOAP_LP_ERROR_AUTHENTICATION = 50 |
Definition at line 24 of file class.ilSoapLearningProgressAdministration.php.
const ilSoapLearningProgressAdministration::SOAP_LP_ERROR_INVALID_FILTER = 52 |
Definition at line 25 of file class.ilSoapLearningProgressAdministration.php.
const ilSoapLearningProgressAdministration::SOAP_LP_ERROR_INVALID_REF_ID = 54 |
Definition at line 26 of file class.ilSoapLearningProgressAdministration.php.
const ilSoapLearningProgressAdministration::SOAP_LP_ERROR_LP_NOT_AVAILABLE = 56 |
Definition at line 27 of file class.ilSoapLearningProgressAdministration.php.
const ilSoapLearningProgressAdministration::SOAP_LP_ERROR_LP_NOT_ENABLED = 60 |
Definition at line 29 of file class.ilSoapLearningProgressAdministration.php.
const ilSoapLearningProgressAdministration::SOAP_LP_ERROR_NO_PERMISSION = 58 |
Definition at line 28 of file class.ilSoapLearningProgressAdministration.php.
const ilSoapLearningProgressAdministration::USER_FILTER_ALL = -1 |
Definition at line 41 of file class.ilSoapLearningProgressAdministration.php.