ILIAS  release_8 Revision v8.24
class.StandardGUIRequest.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
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,
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}
Builds data types.
Definition: Factory.php:21
Class Services.
Definition: Services.php:38
__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...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Refinery Factory $refinery
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.
$http
Definition: raiseError.php:7