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\Category;
22
24
26{
28
29 public function __construct(
32 ?array $passed_query_params = null,
33 ?array $passed_post_data = null
34 ) {
35 $this->initRequest(
36 $http,
38 $passed_query_params,
39 $passed_post_data
40 );
41 }
42
43 public function getRefId(): int
44 {
45 return $this->int("ref_id");
46 }
47
48 public function getObjId(): int
49 {
50 return $this->int("obj_id");
51 }
52
53 public function getCmdClass(): string
54 {
55 return $this->str("cmdClass");
56 }
57
58 public function getBaseClass(): string
59 {
60 return $this->str("baseClass");
61 }
62
64 public function getUserIds(): array
65 {
66 return $this->intArray("user_ids");
67 }
68
70 public function getIds(): array
71 {
72 return $this->intArray("id");
73 }
74
76 public function getRoleIds(): array
77 {
78 return $this->intArray("role_ids");
79 }
80
81 public function getFetchAll(): int
82 {
83 return $this->int("fetchall");
84 }
85
86 public function getTerm(): string
87 {
88 return $this->str("term");
89 }
90
91 public function getTaxId(): int
92 {
93 return $this->int("cat_tax_id");
94 }
95
96}
__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.