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
21namespace ILIAS\Container\Block;
22
24
26{
27 use BaseGUIRequest;
28
34 public function __construct(
37 ?array $passed_query_params = null,
38 ?array $passed_post_data = null
39 ) {
40 $this->initRequest(
41 $http,
43 $passed_query_params,
44 $passed_post_data
45 );
46 }
47
48 public function getBlockType(): string
49 {
50 return $this->str("block_type");
51 }
52
53 public function getRefId(): int
54 {
55 return $this->int("ref_id");
56 }
57
58 public function getNavPar(string $par): string
59 {
60 return $this->str($par);
61 }
62
63 public function getNavPage(string $par): string
64 {
65 return $this->str($par . "page");
66 }
67
68 public function getColSide(): string
69 {
70 return $this->str("col_side");
71 }
72
73 public function getBlockId(): string
74 {
75 return $this->str("block_id");
76 }
77
78 public function getBlock(): string
79 {
80 return $this->str("block");
81 }
82}
__construct(\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
Builds data types.
Definition: Factory.php:36
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.
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.