ILIAS
Release_4_4_x_branch Revision 61816
|
This class handles all DB changes necessary for fraunhofer. More...
Public Member Functions | |
deleteProgress ($sid, $ref_ids, $usr_ids, $type_filter, $progress_filter) | |
Delete progress of users and objects Implemented for. | |
getLearningProgressChanges ($sid, $timestamp, $include_ref_ids, $type_filter) | |
Get learning progress changes. | |
Public Member Functions inherited from ilSoapAdministration | |
ilSoapAdministration ($use_nusoap=true) | |
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) |
Data Fields | |
const | PROGRESS_FILTER_ALL = 0 |
const | PROGRESS_FILTER_IN_PROGRESS = 1 |
const | PROGRESS_FILTER_COMPLETED = 2 |
const | PROGRESS_FILTER_FAILED = 3 |
const | USER_FILTER_ALL = -1 |
Data Fields inherited from ilSoapAdministration | |
$sauth = null | |
$error_method = null |
Protected Member Functions | |
applyProgressFilter ($obj_id, Array $usr_ids, Array $filter) | |
Apply progress filter. | |
deleteScormTracking ($a_obj_id, $a_usr_ids) | |
Delete SCORM Tracking type $ilDB. | |
deleteScorm2004Tracking ($a_obj_id, $a_usr_ids) | |
Delete scorm 2004 tracking. |
Static Protected Attributes | |
static | $DELETE_PROGRESS_FILTER_TYPES = array('sahs', 'tst') |
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 | |
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 |
Apply progress filter.
int | $obj_id | |
array | $usr_ids | |
array | $filter |
Definition at line 154 of file class.ilSoapLearningProgressAdministration.php.
References $GLOBALS, ilLPStatusWrapper\_getCompleted(), ilLPStatusWrapper\_getFailed(), and ilLPStatusWrapper\_getInProgress().
Referenced by deleteProgress().
ilSoapLearningProgressAdministration::deleteProgress | ( | $sid, | |
$ref_ids, | |||
$usr_ids, | |||
$type_filter, | |||
$progress_filter | |||
) |
Delete progress of users and objects Implemented for.
Definition at line 29 of file class.ilSoapLearningProgressAdministration.php.
References $GLOBALS, $ref_id, $usr_id, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_lookupObjId(), ilObjSAHSLearningModule\_lookupSubType(), ilObject\_lookupType(), ilLPStatusWrapper\_refreshStatus(), ilLPStatusWrapper\_resetInfoCaches(), applyProgressFilter(), deleteScorm2004Tracking(), deleteScormTracking(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilObjUser\userExists().
|
protected |
Delete scorm 2004 tracking.
type | $a_obj_id | |
type | $a_usr_ids |
Definition at line 225 of file class.ilSoapLearningProgressAdministration.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by deleteProgress().
|
protected |
Delete SCORM Tracking type $ilDB.
type | $a_obj_id | |
type | $a_usr_ids |
Definition at line 209 of file class.ilSoapLearningProgressAdministration.php.
Referenced by deleteProgress().
ilSoapLearningProgressAdministration::getLearningProgressChanges | ( | $sid, | |
$timestamp, | |||
$include_ref_ids, | |||
$type_filter | |||
) |
Get learning progress changes.
Definition at line 250 of file class.ilSoapLearningProgressAdministration.php.
References $ilLog, $timestamp, ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
|
staticprotected |
Definition at line 16 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::USER_FILTER_ALL = -1 |
Definition at line 23 of file class.ilSoapLearningProgressAdministration.php.