ILIAS  release_8 Revision v8.23
class.StandardGUIRequest.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\InfoScreen;
22 
26 
28 {
30 
31  public function __construct(
34  ?array $passed_query_params = null,
35  ?array $passed_post_data = null
36  ) {
37  $this->initRequest(
38  $http,
39  $refinery,
42  );
43  }
44 
45  public function getUserId(): int
46  {
47  return $this->int("user_id");
48  }
49 
50  public function getLPEdit(): int
51  {
52  return $this->int("lp_edit");
53  }
54 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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.
trait BaseGUIRequest
Base gui request wrapper.
$http
Definition: raiseError.php:7
__construct(Services $http, 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...
Refinery Factory $refinery