| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
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 () | |
Private Attributes | |
| GuzzleHttp Client | $client | 
| 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 58 of file class.ilCmiXapiStatementsDeleteRequest.php.
References $DIC, $filter, $headers, $res, $response, $scope, checkDeleteUsersForObject(), ILIAS\UI\examples\Progress\Bar\client(), deleteData(), ILIAS\Repository\filter(), ilLoggerFactory\getLogger(), and queryBatch().
 Here is the call graph for this function:| ilCmiXapiStatementsDeleteRequest::_lookUpDataCount | ( | $scope = null | ) | 
Definition at line 185 of file class.ilCmiXapiStatementsDeleteRequest.php.
References $DIC, Vendor\Package\$e, Vendor\Package\$f, $response, $scope, $url, ilUtil\appendUrlParameterString(), buildDeleteAll(), buildDeleteFiltered(), buildDeleteOwn(), and ILIAS\UI\examples\Progress\Bar\client().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 263 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 289 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 337 of file class.ilCmiXapiStatementsDeleteRequest.php.
References $DIC, Vendor\Package\$f, 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 360 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 394 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 410 of file class.ilCmiXapiStatementsDeleteRequest.php.
References $DIC, checkDeleteState(), ilCmiXapiUser\deleteUsersForObject(), and ILIAS\Repository\filter().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilCmiXapiStatementsDeleteRequest::deleteData | ( | ) | 
Definition at line 133 of file class.ilCmiXapiStatementsDeleteRequest.php.
References $DIC, Vendor\Package\$e, Vendor\Package\$f, $r, $response, buildDeleteAll(), buildDeleteFiltered(), buildDeleteOwn(), checkDeleteState(), ILIAS\UI\examples\Progress\Bar\client(), and getDeleteStateUrls().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 242 of file class.ilCmiXapiStatementsDeleteRequest.php.
References Vendor\Package\$f, 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 253 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 | ) | 
| string | $batchId | 
Definition at line 225 of file class.ilCmiXapiStatementsDeleteRequest.php.
References $DIC, Vendor\Package\$e, $response, ILIAS\UI\examples\Progress\Bar\client(), and getBatchUrl().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 38 of file class.ilCmiXapiStatementsDeleteRequest.php.
      
  | 
  private | 
Definition at line 34 of file class.ilCmiXapiStatementsDeleteRequest.php.
      
  | 
  protected | 
Definition at line 54 of file class.ilCmiXapiStatementsDeleteRequest.php.
      
  | 
  protected | 
Definition at line 48 of file class.ilCmiXapiStatementsDeleteRequest.php.
      
  | 
  protected | 
Definition at line 50 of file class.ilCmiXapiStatementsDeleteRequest.php.
      
  | 
  protected | 
Definition at line 42 of file class.ilCmiXapiStatementsDeleteRequest.php.
Referenced by __construct().
      
  | 
  protected | 
Definition at line 52 of file class.ilCmiXapiStatementsDeleteRequest.php.
Referenced by __construct().
      
  | 
  protected | 
Definition at line 56 of file class.ilCmiXapiStatementsDeleteRequest.php.
      
  | 
  protected | 
Definition at line 46 of file class.ilCmiXapiStatementsDeleteRequest.php.
      
  | 
  protected | 
Definition at line 44 of file class.ilCmiXapiStatementsDeleteRequest.php.
      
  | 
  protected | 
Definition at line 40 of file class.ilCmiXapiStatementsDeleteRequest.php.
Referenced by __construct(), and _lookUpDataCount().
      
  | 
  private | 
Definition at line 36 of file class.ilCmiXapiStatementsDeleteRequest.php.
Referenced by buildDeleteStates().
| 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().