ILIAS  release_8 Revision v8.24
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 ()
 
 getPhraseId ()
 
 getPhraseIds ()
 
 getPhraseTitle ()
 
 getAnswers ()
 
 getColumns ()
 
 getRows ()
 
 getNeutralScale ()
 
 getNeutral ()
 
 getColumnNeutralScale ()
 
 getNewLinkType ()
 
 getNewForSurvey ()
 
 getNewType ()
 
 getLinkSourceId ()
 
 getLinkItemId ($type)
 
 getReturn ()
 
 getFiles ()
 
 getMaterialIndexes ()
 
 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.

38 {
39 $this->initRequest(
40 $http,
44 );
45 }
Refinery Factory $refinery
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.
$http
Definition: raiseError.php:7

References ILIAS\Repository\$passed_post_data, ILIAS\Repository\$passed_query_params, ILIAS\Repository\$refinery, and ILIAS\Repository\initRequest().

+ Here is the call graph for this function:

Member Function Documentation

◆ getAnswers()

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

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

105 : array
106 {
107 $ans = $this->arrayArray("answers");
109 }
static stripSlashesRecursive($a_data, bool $a_strip_html=true, string $a_allow="")

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

+ Here is the call graph for this function:

◆ getBaseClass()

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

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

77 : string
78 {
79 return $this->str("baseClass");
80 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getColumnNeutralScale()

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

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

134 : string
135 {
136 return $this->str("columns_neutral_scale");
137 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getColumns()

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

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

111 : array
112 {
113 $ans = $this->arrayArray("columns");
115 }

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

Referenced by ILIAS\UI\Implementation\Component\Table\Data\getOptionalColumns(), and ILIAS\UI\Implementation\Component\Table\Data\getVisibleColumns().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getFiles()

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

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

170 : array
171 {
172 return $this->strArray("file");
173 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getLinkItemId()

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

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

159 : int
160 {
161 return $this->int($type);
162 }
$type

References $type, and ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getLinkSourceId()

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

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

154 : int
155 {
156 return $this->int("source_id");
157 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getMaterialIndexes()

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

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

175 : array
176 {
177 return $this->intArray("idx");
178 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getNeutral()

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

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

128 : string
129 {
130 $ans = $this->strArray("answers");
131 return $ans["neutral"];
132 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getNeutralScale()

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

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

123 : string
124 {
125 return $this->str("answers_neutral_scale");
126 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getNewForSurvey()

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

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

144 : int
145 {
146 return $this->int("new_for_survey");
147 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getNewLinkType()

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

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

139 : string
140 {
141 return $this->str("internalLinkType");
142 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getNewType()

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

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

149 : string
150 {
151 return $this->str("new_type");
152 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getObligatory()

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

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

205 : array
206 {
207 return $this->intArray("obligatory");
208 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getPercentBipAdj1()

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

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

190 : int
191 {
192 return $this->int("percent_bipolar_adjective1");
193 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPercentBipAdj2()

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

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

195 : int
196 {
197 return $this->int("percent_bipolar_adjective2");
198 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPercentColumns()

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

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

185 : int
186 {
187 return $this->int("percent_columns");
188 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPercentNeutral()

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

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

200 : int
201 {
202 return $this->int("percent_neutral");
203 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPercentRow()

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

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

180 : int
181 {
182 return $this->int("percent_row");
183 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPhraseId()

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

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

89 : int
90 {
91 return $this->int("p_id");
92 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPhraseIds()

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

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

94 : array
95 {
96 return $this->intArray("phrase");
97 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getPhraseTitle()

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

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

99 : string
100 {
101 return $this->str("phrase_title");
102 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getPreview()

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

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

67 : int
68 {
69 return $this->int("preview");
70 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getQuestionId()

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

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

52 : int
53 {
54 return $this->int("q_id");
55 }

References ILIAS\Repository\int().

+ 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.

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 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getRefId()

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

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

47 : int
48 {
49 return $this->int("ref_id");
50 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getReturn()

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

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

164 : bool
165 {
166 return (bool) $this->int("rtrn");
167 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getRows()

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

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

117 : array
118 {
119 $ans = $this->arrayArray("rows");
121 }

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

+ Here is the call graph for this function:

◆ getSelectedQuestionTypes()

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

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

72 : string
73 {
74 return $this->str("sel_question_types");
75 }

References ILIAS\Repository\str().

+ 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.

83 : array
84 {
85 return $this->strArray("sort");
86 }

References ILIAS\Repository\strArray().

+ 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: