ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.StandardGUIRequest.php
Go to the documentation of this file.
1 <?php
2 
19 namespace ILIAS\Accordion;
20 
22 
24 {
25  use BaseGUIRequest;
26 
27  public function __construct(
30  ?array $passed_query_params = null,
31  ?array $passed_post_data = null
32  ) {
33  $this->initRequest(
34  $http,
35  $refinery,
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)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface Observer Contains several chained tasks and infos about them.
$http
Definition: deliver.php:30
trait BaseGUIRequest
Base gui request wrapper.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
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.
Builds data types.
Definition: Factory.php:35