ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
class.StandardGUIRequest.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
18 namespace ILIAS\Folder;
19 
21 
23 {
25 
26  public function __construct(
29  ?array $passed_query_params = null,
30  ?array $passed_post_data = null
31  ) {
32  $this->initRequest(
33  $http,
34  $refinery,
35  $passed_query_params,
36  $passed_post_data
37  );
38  }
39 
40  public function getRefId(): int
41  {
42  return $this->int("ref_id");
43  }
44 
45  public function getUserId(): int
46  {
47  return $this->int("user_id");
48  }
49 
50  public function getCmdClass(): string
51  {
52  return $this->str("cmdClass");
53  }
54 
55  public function getBaseClass(): string
56  {
57  return $this->str("baseClass");
58  }
59 }
Interface Observer Contains several chained tasks and infos about them.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$http
Definition: deliver.php:14
trait BaseGUIRequest
Base gui request wrapper.
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)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...