ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.StandardGUIRequest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
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,
40 $passed_query_params,
41 $passed_post_data
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:36
Class Services.
Definition: Services.php:38
__construct(Services $http, Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
trait BaseGUIRequest
Base gui request wrapper.
$http
Definition: deliver.php:30
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.