ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
class.ExecutionGUIRequest.php
Go to the documentation of this file.
1 <?php
2 
19 namespace ILIAS\Survey\Execution;
20 
22 
27 {
28  use BaseGUIRequest;
29 
30  protected array $params;
31 
32  public function __construct(
35  ) {
36  $this->initRequest(
37  $http,
38  $refinery
39  );
40  }
41 
42  public function getQuestionId(): int
43  {
44  return $this->int("qid");
45  }
46 
47  public function getRefId(): int
48  {
49  return $this->int("ref_id");
50  }
51 
52  public function getActiveCommand(): string
53  {
54  return $this->str("activecommand");
55  }
56 
57  public function getAccessCode(): string
58  {
59  return $this->str("accesscode");
60  }
61 
62  // todo: check relationg to accesscode parameter above
63  public function getAnonymousId(): string
64  {
65  return $this->str("anonymous_id");
66  }
67 
68  public function getDirection(): int
69  {
70  return $this->int("direction");
71  }
72 
73  public function getMail(): string
74  {
75  return $this->str("mail");
76  }
77 
78  public function getAppraiseeId(): int
79  {
80  return $this->int("appr_id");
81  }
82 
83  public function getTargetPosition(): string
84  {
85  return $this->str("pgov");
86  }
87 
88  public function getPreview(): int
89  {
90  return $this->int("prvw");
91  }
92 }
Interface Observer Contains several chained tasks and infos about them.
$http
Definition: deliver.php:30
trait BaseGUIRequest
Base gui request wrapper.
Builds a Color from either hex- or rgb values.
Definition: Factory.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.
__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...