ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest Class Reference
+ Collaboration diagram for ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest:

Public Member Functions

 __construct (\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
 
 getRefId ()
 
 getQuestionId ()
 
 getQuestionIds ()
 
 getPreview ()
 
 getSelectedQuestionTypes ()
 
 getBaseClass ()
 
 getSort ()
 
 getAnswers ()
 
 getColumns ()
 
 getRows ()
 
 getNeutralScale ()
 
 getNeutral ()
 
 getColumnNeutralScale ()
 
 getNewLinkType ()
 
 getNewForSurvey ()
 
 getNewType ()
 
 getLinkSourceId ()
 
 getLinkItemId ($type)
 
 getReturn ()
 
 getFiles ()
 
 getPercentRow ()
 
 getPercentColumns ()
 
 getPercentBipAdj1 ()
 
 getPercentBipAdj2 ()
 
 getPercentNeutral ()
 
 getObligatory ()
 

Protected Attributes

array $params
 

Detailed Description

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 27 of file class.EditingGUIRequest.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::__construct ( \ILIAS\HTTP\Services  $http,
\ILIAS\Refinery\Factory  $refinery,
?array  $passed_query_params = null,
?array  $passed_post_data = null 
)

Definition at line 33 of file class.EditingGUIRequest.php.

References ILIAS\Repository\initRequest().

38  {
39  $this->initRequest(
40  $http,
41  $refinery,
42  $passed_query_params,
43  $passed_post_data
44  );
45  }
$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.
+ Here is the call graph for this function:

Member Function Documentation

◆ getAnswers()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getAnswers ( )

Definition at line 88 of file class.EditingGUIRequest.php.

References ILIAS\Repository\arrayArray(), and ilArrayUtil\stripSlashesRecursive().

88  : array
89  {
90  $ans = $this->arrayArray("answers");
92  }
static stripSlashesRecursive($a_data, bool $a_strip_html=true, string $a_allow="")
+ Here is the call graph for this function:

◆ getBaseClass()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getBaseClass ( )

Definition at line 77 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

77  : string
78  {
79  return $this->str("baseClass");
80  }
+ Here is the call graph for this function:

◆ getColumnNeutralScale()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getColumnNeutralScale ( )

Definition at line 117 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

117  : string
118  {
119  return $this->str("columns_neutral_scale");
120  }
+ Here is the call graph for this function:

◆ getColumns()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getColumns ( )

Definition at line 94 of file class.EditingGUIRequest.php.

References ILIAS\Repository\arrayArray(), and ilArrayUtil\stripSlashesRecursive().

94  : array
95  {
96  $ans = $this->arrayArray("columns");
98  }
static stripSlashesRecursive($a_data, bool $a_strip_html=true, string $a_allow="")
+ Here is the call graph for this function:

◆ getFiles()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getFiles ( )
Returns
string[]

Definition at line 153 of file class.EditingGUIRequest.php.

References ILIAS\Repository\strArray().

153  : array
154  {
155  return $this->strArray("file");
156  }
+ Here is the call graph for this function:

◆ getLinkItemId()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getLinkItemId (   $type)

Definition at line 142 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

142  : int
143  {
144  return $this->int($type);
145  }
+ Here is the call graph for this function:

◆ getLinkSourceId()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getLinkSourceId ( )

Definition at line 137 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

137  : int
138  {
139  return $this->int("source_id");
140  }
+ Here is the call graph for this function:

◆ getNeutral()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getNeutral ( )

Definition at line 111 of file class.EditingGUIRequest.php.

References ILIAS\Repository\strArray().

111  : string
112  {
113  $ans = $this->strArray("answers");
114  return $ans["neutral"];
115  }
+ Here is the call graph for this function:

◆ getNeutralScale()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getNeutralScale ( )

Definition at line 106 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

106  : string
107  {
108  return $this->str("answers_neutral_scale");
109  }
+ Here is the call graph for this function:

◆ getNewForSurvey()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getNewForSurvey ( )

Definition at line 127 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

127  : int
128  {
129  return $this->int("new_for_survey");
130  }
+ Here is the call graph for this function:

◆ getNewLinkType()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getNewLinkType ( )

Definition at line 122 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

122  : string
123  {
124  return $this->str("internalLinkType");
125  }
+ Here is the call graph for this function:

◆ getNewType()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getNewType ( )

Definition at line 132 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

132  : string
133  {
134  return $this->str("new_type");
135  }
+ Here is the call graph for this function:

◆ getObligatory()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getObligatory ( )

Definition at line 183 of file class.EditingGUIRequest.php.

References ILIAS\Repository\intArray().

183  : array
184  {
185  return $this->intArray("obligatory");
186  }
+ Here is the call graph for this function:

◆ getPercentBipAdj1()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getPercentBipAdj1 ( )

Definition at line 168 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

168  : int
169  {
170  return $this->int("percent_bipolar_adjective1");
171  }
+ Here is the call graph for this function:

◆ getPercentBipAdj2()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getPercentBipAdj2 ( )

Definition at line 173 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

173  : int
174  {
175  return $this->int("percent_bipolar_adjective2");
176  }
+ Here is the call graph for this function:

◆ getPercentColumns()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getPercentColumns ( )

Definition at line 163 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

163  : int
164  {
165  return $this->int("percent_columns");
166  }
+ Here is the call graph for this function:

◆ getPercentNeutral()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getPercentNeutral ( )

Definition at line 178 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

178  : int
179  {
180  return $this->int("percent_neutral");
181  }
+ Here is the call graph for this function:

◆ getPercentRow()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getPercentRow ( )

Definition at line 158 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

158  : int
159  {
160  return $this->int("percent_row");
161  }
+ Here is the call graph for this function:

◆ getPreview()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getPreview ( )

Definition at line 67 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

67  : int
68  {
69  return $this->int("preview");
70  }
+ Here is the call graph for this function:

◆ getQuestionId()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getQuestionId ( )

Definition at line 52 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

52  : int
53  {
54  return $this->int("q_id");
55  }
+ Here is the call graph for this function:

◆ getQuestionIds()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getQuestionIds ( )
Returns
int[]

Definition at line 58 of file class.EditingGUIRequest.php.

References ILIAS\Repository\intArray().

58  : array
59  {
60  $ids = $this->intArray("q_id");
61  if (count($ids) === 0) {
62  $ids = $this->intArray("qid"); // this one is used in SurveyQuestionGUI
63  }
64  return $ids;
65  }
+ Here is the call graph for this function:

◆ getRefId()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getRefId ( )

Definition at line 47 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

47  : int
48  {
49  return $this->int("ref_id");
50  }
+ Here is the call graph for this function:

◆ getReturn()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getReturn ( )

Definition at line 147 of file class.EditingGUIRequest.php.

References ILIAS\Repository\int().

147  : bool
148  {
149  return (bool) $this->int("rtrn");
150  }
+ Here is the call graph for this function:

◆ getRows()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getRows ( )

Definition at line 100 of file class.EditingGUIRequest.php.

References ILIAS\Repository\arrayArray(), and ilArrayUtil\stripSlashesRecursive().

100  : array
101  {
102  $ans = $this->arrayArray("rows");
104  }
static stripSlashesRecursive($a_data, bool $a_strip_html=true, string $a_allow="")
+ Here is the call graph for this function:

◆ getSelectedQuestionTypes()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getSelectedQuestionTypes ( )

Definition at line 72 of file class.EditingGUIRequest.php.

References ILIAS\Repository\str().

72  : string
73  {
74  return $this->str("sel_question_types");
75  }
+ Here is the call graph for this function:

◆ getSort()

ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::getSort ( )
Returns
string[]

Definition at line 83 of file class.EditingGUIRequest.php.

References ILIAS\Repository\strArray().

83  : array
84  {
85  return $this->strArray("sort");
86  }
+ Here is the call graph for this function:

Field Documentation

◆ $params

array ILIAS\SurveyQuestionPool\Editing\EditingGUIRequest::$params
protected

Definition at line 31 of file class.EditingGUIRequest.php.


The documentation for this class was generated from the following file: