ILIAS  trunk Revision v11.0_alpha-1731-gff9cd7e2bd3
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.StandardGUIRequest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Folder;
22 
24 
26 {
28 
29  public function __construct(
32  ?array $passed_query_params = null,
33  ?array $passed_post_data = null
34  ) {
35  $this->initRequest(
36  $http,
37  $refinery,
38  $passed_query_params,
39  $passed_post_data
40  );
41  }
42 
43  public function getRefId(): int
44  {
45  return $this->int("ref_id");
46  }
47 
48  public function getUserId(): int
49  {
50  return $this->int("user_id");
51  }
52 
53  public function getCmdClass(): string
54  {
55  return $this->str("cmdClass");
56  }
57 
58  public function getBaseClass(): string
59  {
60  return $this->str("baseClass");
61  }
62 }
Interface Observer Contains several chained tasks and infos about them.
$http
Definition: deliver.php:30
trait BaseGUIRequest
Base gui request wrapper.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
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.
Builds data types.
Definition: Factory.php:35
__construct(\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)