ILIAS  release_8 Revision v8.24
ILIAS\Repository\Trash\TrashGUIRequest Class Reference
+ Collaboration diagram for ILIAS\Repository\Trash\TrashGUIRequest:

Public Member Functions

 __construct (\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery)
 
 getTrashIds ()
 

Detailed Description

Definition at line 25 of file class.TrashGUIRequest.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Repository\Trash\TrashGUIRequest::__construct ( \ILIAS\HTTP\Services  $http,
\ILIAS\Refinery\Factory  $refinery 
)

Definition at line 29 of file class.TrashGUIRequest.php.

32 {
33 $this->initRequest(
34 $http,
36 );
37 }
Refinery Factory $refinery
initRequest(HTTP\Services $http, Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
Query params and post data parameters are used for testing.
$http
Definition: raiseError.php:7

References ILIAS\Repository\$refinery, and ILIAS\Repository\initRequest().

+ Here is the call graph for this function:

Member Function Documentation

◆ getTrashIds()

ILIAS\Repository\Trash\TrashGUIRequest::getTrashIds ( )
Returns
int[]

Definition at line 40 of file class.TrashGUIRequest.php.

40 : array
41 {
42 $trash_ids = $this->intArray("trash_id");
43 if (count($trash_ids) > 0) {
44 return $trash_ids;
45 }
46 $trash_ids = $this->str("trash_ids");
47 if ($trash_ids === "") {
48 return [];
49 }
50
51 return array_map('intval', explode(",", $trash_ids));
52 }

References ILIAS\Repository\intArray(), and ILIAS\Repository\str().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: