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 getAction(): string
42 {
43 return $this->str("act");
44 }
45
46 public function getId(): string
47 {
48 return $this->str("accordion_id");
49 }
50
51 public function getTabNr(): string
52 {
53 return $this->str("tab_nr");
54 }
55
56 public function getUserId(): int
57 {
58 return $this->int("user_id");
59 }
60
61 public function getNavPar(string $par): string
62 {
63 return $this->str($par);
64 }
65
66 public function getNavPage(string $par): string
67 {
68 return $this->str($par . "page");
69 }
70
71 public function getColSide(): string
72 {
73 return $this->str("col_side");
74 }
75
76 public function getBlockId(): string
77 {
78 return $this->str("block_id");
79 }
80
81 public function getBlock(): string
82 {
83 return $this->str("block");
84 }
85}
__construct(\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
Builds a Color from either hex- or rgb values.
Definition: Factory.php:31
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.