ILIAS  release_8 Revision v8.24
class.StandardGUIRequest.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
21namespace ILIAS\Repository;
22
24{
26
27 public function __construct(
28 \ILIAS\HTTP\Services $http,
29 \ILIAS\Refinery\Factory $refinery
30 ) {
31 $this->initRequest(
32 $http,
34 );
35 }
36
37 public function getRefId(): int
38 {
39 return $this->int("ref_id");
40 }
41
42 public function getItemRefId(): int
43 {
44 return $this->int("item_ref_id");
45 }
46
48 public function getItemRefIds(): array
49 {
50 return $this->intArray("item_ref_ids");
51 }
52
53 public function getNewType(): string
54 {
55 return $this->str("new_type");
56 }
57
58 public function getBaseClass(): string
59 {
60 return $this->str("baseClass");
61 }
62}
Builds data types.
Definition: Factory.php:21
__construct(\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Refinery Factory $refinery
trait BaseGUIRequest
Base gui request wrapper.
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.
Class ChatMainBarProvider \MainMenu\Provider.
$http
Definition: raiseError.php:7