ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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.

38 {
39 $this->initRequest(
40 $http,
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.

References ILIAS\UI\examples\Layout\Page\Standard\$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 88 of file class.EditingGUIRequest.php.

88 : array
89 {
90 $ans = $this->arrayArray("answers");
92 }
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 117 of file class.EditingGUIRequest.php.

117 : string
118 {
119 return $this->str("columns_neutral_scale");
120 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getColumns()

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

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

94 : array
95 {
96 $ans = $this->arrayArray("columns");
98 }

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

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

153 : array
154 {
155 return $this->strArray("file");
156 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getLinkItemId()

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

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

142 : int
143 {
144 return $this->int($type);
145 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getLinkSourceId()

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

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

137 : int
138 {
139 return $this->int("source_id");
140 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getNeutral()

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

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

111 : string
112 {
113 $ans = $this->strArray("answers");
114 return $ans["neutral"];
115 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getNeutralScale()

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

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

106 : string
107 {
108 return $this->str("answers_neutral_scale");
109 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getNewForSurvey()

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

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

127 : int
128 {
129 return $this->int("new_for_survey");
130 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getNewLinkType()

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

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

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

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getNewType()

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

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

132 : string
133 {
134 return $this->str("new_type");
135 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getObligatory()

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

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

183 : array
184 {
185 return $this->intArray("obligatory");
186 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getPercentBipAdj1()

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

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

168 : int
169 {
170 return $this->int("percent_bipolar_adjective1");
171 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPercentBipAdj2()

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

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

173 : int
174 {
175 return $this->int("percent_bipolar_adjective2");
176 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPercentColumns()

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

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

163 : int
164 {
165 return $this->int("percent_columns");
166 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPercentNeutral()

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

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

178 : int
179 {
180 return $this->int("percent_neutral");
181 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPercentRow()

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

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

158 : int
159 {
160 return $this->int("percent_row");
161 }

References ILIAS\Repository\int().

+ 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 147 of file class.EditingGUIRequest.php.

147 : bool
148 {
149 return (bool) $this->int("rtrn");
150 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getRows()

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

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

100 : array
101 {
102 $ans = $this->arrayArray("rows");
104 }

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: