ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.StandardGUIRequest.php
Go to the documentation of this file.
1<?php
2
20
22
24{
25 use BaseGUIRequest;
26
27 public function __construct(
28 \ILIAS\HTTP\Services $http,
30 ?array $passed_query_params = null,
31 ?array $passed_post_data = null
32 ) {
33 $this->initRequest(
34 $http,
36 $passed_query_params,
37 $passed_post_data
38 );
39 }
40
41 public function getRefId(): int
42 {
43 return $this->int("ref_id");
44 }
45
46 public function getUserId(): int
47 {
48 return $this->int("user_id");
49 }
50
51 public function getBaseClass(): string
52 {
53 return $this->str("baseClass");
54 }
55
56 public function getString(string $post_var): string
57 {
58 return $this->str($post_var);
59 }
60}
Builds a Color from either hex- or rgb values.
Definition: Factory.php:31
__construct(\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
trait BaseGUIRequest
Base gui request wrapper.
$http
Definition: deliver.php:30
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.
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.