|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class ilCmiXapiStatementsDeleteRequest. More...
Collaboration diagram for ilCmiXapiStatementsDeleteRequest:Public Member Functions | |
| __construct (int $obj_id, int $type_id, string $activity_id, ?int $usr_id=null, ?string $scope=self::DELETE_SCOPE_FILTERED, ?ilCmiXapiStatementsReportFilter $filter=null) | |
| deleteData () | |
| _lookUpDataCount ($scope=null) | |
| queryBatch (array $batchId) | |
Data Fields | |
| const | DELETE_SCOPE_FILTERED = "filtered" |
| const | DELETE_SCOPE_ALL = "all" |
| const | DELETE_SCOPE_OWN = "own" |
Protected Attributes | |
| string | $scope |
| ilCmiXapiStatementsReportFilter | $filter |
| int | $objId |
| ilCmiXapiLrsType | $lrsType |
| string | $endpointDefault = '' |
| string | $endpointFallback = '' |
| array | $headers |
| array | $defaultHeaders |
| ilLogger | $log |
Private Member Functions | |
| getBatchUrl (string $url, string $batchId) | |
| getDeleteStateUrls ($url) | |
| buildDeleteAll () | |
| buildDeleteFiltered () | |
| buildDeleteOwn () | |
| buildDeleteStates () | |
| checkDeleteState () | |
| checkDeleteUsersForObject () | |
| sendCurlRequest (string $method, string $url, array $headers=[], ?string $body=null) | |
| executeMultiCurl (array $requests) | |
Private Attributes | |
| int | $usrId |
| string | $activityId |
Class ilCmiXapiStatementsDeleteRequest.
Definition at line 28 of file class.ilCmiXapiStatementsDeleteRequest.php.
| ilCmiXapiStatementsDeleteRequest::__construct | ( | int | $obj_id, |
| int | $type_id, | ||
| string | $activity_id, | ||
| ?int | $usr_id = null, |
||
| ?string | $scope = self::DELETE_SCOPE_FILTERED, |
||
| ?ilCmiXapiStatementsReportFilter | $filter = null |
||
| ) |
Definition at line 56 of file class.ilCmiXapiStatementsDeleteRequest.php.
References $filter, $headers, $scope, ILIAS\Repository\filter(), and ilLoggerFactory\getLogger().
Here is the call graph for this function:| ilCmiXapiStatementsDeleteRequest::_lookUpDataCount | ( | $scope = null | ) |
Definition at line 180 of file class.ilCmiXapiStatementsDeleteRequest.php.
References $DIC, Vendor\Package\$e, Vendor\Package\$f, $response, $scope, $url, ilUtil\appendUrlParameterString(), buildDeleteAll(), buildDeleteFiltered(), buildDeleteOwn(), and sendCurlRequest().
Here is the call graph for this function:
|
private |
Definition at line 288 of file class.ilCmiXapiStatementsDeleteRequest.php.
References $DIC, Vendor\Package\$f, and ilCmiXapiUser\getUsersForObject().
Referenced by _lookUpDataCount(), and deleteData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 314 of file class.ilCmiXapiStatementsDeleteRequest.php.
References $DIC, Vendor\Package\$f, ILIAS\Repository\filter(), and ilCmiXapiUser\getUsersForObject().
Referenced by _lookUpDataCount(), and deleteData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 362 of file class.ilCmiXapiStatementsDeleteRequest.php.
References $DIC, Vendor\Package\$f, $usrId, and ilCmiXapiUser\getInstancesByObjectIdAndUsrId().
Referenced by _lookUpDataCount(), and deleteData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 385 of file class.ilCmiXapiStatementsDeleteRequest.php.
References $DIC, $usrId, ILIAS\Repository\filter(), and ilCmiXapiUser\getUsersForObject().
Referenced by getDeleteStateUrls().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 419 of file class.ilCmiXapiStatementsDeleteRequest.php.
References $DIC, and ILIAS\Repository\filter().
Referenced by checkDeleteUsersForObject(), and deleteData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 435 of file class.ilCmiXapiStatementsDeleteRequest.php.
References $DIC, $usrId, checkDeleteState(), ilCmiXapiUser\deleteUsersForObject(), and ILIAS\Repository\filter().
Here is the call graph for this function:| ilCmiXapiStatementsDeleteRequest::deleteData | ( | ) |
Definition at line 130 of file class.ilCmiXapiStatementsDeleteRequest.php.
References $DIC, Vendor\Package\$e, Vendor\Package\$f, $response, buildDeleteAll(), buildDeleteFiltered(), buildDeleteOwn(), checkDeleteState(), executeMultiCurl(), getDeleteStateUrls(), and sendCurlRequest().
Here is the call graph for this function:
|
private |
Definition at line 488 of file class.ilCmiXapiStatementsDeleteRequest.php.
References $defaultHeaders, $headers, $mh, XapiProxy\$req, $url, and ILIAS\Repository\object().
Referenced by deleteData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 267 of file class.ilCmiXapiStatementsDeleteRequest.php.
References Vendor\Package\$f, $url, and ilUtil\appendUrlParameterString().
Referenced by queryBatch().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 278 of file class.ilCmiXapiStatementsDeleteRequest.php.
References $url, ilUtil\appendUrlParameterString(), and buildDeleteStates().
Referenced by deleteData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCmiXapiStatementsDeleteRequest::queryBatch | ( | array | $batchId | ) |
Definition at line 217 of file class.ilCmiXapiStatementsDeleteRequest.php.
References $DIC, Vendor\Package\$e, $headers, $response, and getBatchUrl().
Here is the call graph for this function:
|
private |
Definition at line 454 of file class.ilCmiXapiStatementsDeleteRequest.php.
References $headers, and $url.
Referenced by _lookUpDataCount(), and deleteData().
Here is the caller graph for this function:
|
private |
Definition at line 36 of file class.ilCmiXapiStatementsDeleteRequest.php.
|
protected |
Definition at line 52 of file class.ilCmiXapiStatementsDeleteRequest.php.
Referenced by executeMultiCurl().
|
protected |
Definition at line 46 of file class.ilCmiXapiStatementsDeleteRequest.php.
|
protected |
Definition at line 48 of file class.ilCmiXapiStatementsDeleteRequest.php.
|
protected |
Definition at line 40 of file class.ilCmiXapiStatementsDeleteRequest.php.
Referenced by __construct().
|
protected |
Definition at line 50 of file class.ilCmiXapiStatementsDeleteRequest.php.
Referenced by __construct(), executeMultiCurl(), queryBatch(), and sendCurlRequest().
|
protected |
Definition at line 54 of file class.ilCmiXapiStatementsDeleteRequest.php.
|
protected |
Definition at line 44 of file class.ilCmiXapiStatementsDeleteRequest.php.
|
protected |
Definition at line 42 of file class.ilCmiXapiStatementsDeleteRequest.php.
|
protected |
Definition at line 38 of file class.ilCmiXapiStatementsDeleteRequest.php.
Referenced by __construct(), and _lookUpDataCount().
|
private |
Definition at line 34 of file class.ilCmiXapiStatementsDeleteRequest.php.
Referenced by buildDeleteOwn(), buildDeleteStates(), and checkDeleteUsersForObject().
| const ilCmiXapiStatementsDeleteRequest::DELETE_SCOPE_ALL = "all" |
Definition at line 31 of file class.ilCmiXapiStatementsDeleteRequest.php.
Referenced by ilCmiXapiDelCron\run(), ilCmiXapiDelModel\setXapiObjAsDeleted(), and ilCmiXapiDelModel\setXapiObjAsDeletedForUser().
| const ilCmiXapiStatementsDeleteRequest::DELETE_SCOPE_FILTERED = "filtered" |
Definition at line 30 of file class.ilCmiXapiStatementsDeleteRequest.php.
| const ilCmiXapiStatementsDeleteRequest::DELETE_SCOPE_OWN = "own" |
Definition at line 32 of file class.ilCmiXapiStatementsDeleteRequest.php.
Referenced by ilCmiXapiDelCron\run().