Änderungen von Dokument Expertenmodus

Zuletzt geändert von Carina Enke am 26.11.2025

Von Version 95.1
bearbeitet von Carina Enke
am 25.06.2020
Änderungskommentar: Mittels Scroll Versions veröffentlicht aus dem Bereich LMSintern und Version 12.4.
Auf Version 83.1
bearbeitet von Carina Enke
am 30.03.2022
Änderungskommentar: Mittels Scroll Versions veröffentlicht aus dem Bereich LMSintern und Version 13.5_Easymode.

Zusammenfassung

Details

Seiteneigenschaften
Titel
... ... @@ -1,1 +1,1 @@
1 -Expertenregeln
1 +Expert Mode
Inhalt
... ... @@ -8,824 +8,1998 @@
8 8  
9 9  {{layout-section ac:type="single"}}
10 10  {{layout-cell}}
11 +**Verwendungsbeispiele für Expertenregeln
12 +**
11 11  
14 +Nachfolgend sind Beispiele aufgeführt, die Ihnen zeigen, wie Sie die Expertenregeln verwenden können.
12 12  
13 -{{children/}}
16 +\\
17 +
18 +(% class="auto-cursor-target" %)
19 +**Typische Anwendungsbeispiele**
20 +
21 +{{expand title="In einem öffentlichen Kurs einzelne Inhalte nur für registrierte Nutzer sichtbar schalten ..."}}
22 +Sie wollen Inhalte in einem öffentlichen Kurs vor Gästen verbergen? Tragen Sie im Tab Sichtbarkeit des betreffenden Kursbausteins bei Expertenmodus in das Textfeld nachfolgenden Inhalt ein. Damit wird der Kursbaustein in einem öffentlich zugänglichen Kurs für nicht registrierte Gastnutzer angezeigt.
23 +
24 +{{code}}
25 +isGuest()=false
26 +{{/code}}
27 +
28 +(% class="wrapped" %)
29 +|=(((
30 +Konfiguration im Kurseditor
31 +)))|(((
32 +(% class="content-wrapper" %)
33 +(((
34 +[[image:attach:Kurseditor - Konfiguration nur registrierte Nutzer_de.png]]
35 +)))
36 +)))
37 +|=(% colspan="1" %)(% colspan="1" %)
38 +(((
39 +Ansicht als registrierter Nutzer
40 +)))|(% colspan="1" %)(% colspan="1" %)
41 +(((
42 +(% class="content-wrapper" %)
43 +(((
44 +[[image:attach:Kursrun - Ansicht registrierte Nutzer_de.png]]
45 +)))
46 +)))
47 +|=(((
48 +Ansicht als Gastnutzer
49 +)))|(((
50 +[[image:attach:Kurseditor - Konfiguration nicht für Gäste_de.png]]
51 +)))
52 +|=(% colspan="1" %)(% colspan="1" %)
53 +(((
54 +Ansicht als Kursverantwortlicher
55 +)))|(% colspan="1" %)(% colspan="1" %)
56 +(((
57 +(% class="content-wrapper" %)
58 +(((
59 +[[image:attach:Kursrun - Ansicht Kursverantwortlicher_de.png]]
60 +)))
61 +)))
62 +{{/expand}}
63 +
64 +{{expand title="In einem öffentlichen Kurs einzelne Inhalte nur für Gäste sichtbar schalten ..."}}
65 +Sie wollen Inhalte in einem öffentlichen Kurs ausschließlich Gästen und Kursverantwortlichen anzeigen? Tragen Sie im Tab Sichtbarkeit des betreffenden Kursbausteins bei Expertenmodus in das Textfeld nachfolgenden Inhalt ein. Damit wird der Kursbaustein in einem öffentlich zugänglichen Kurs nur Gastnutzern und Kursverantwortlichen angezeigt.
66 +
67 +{{code}}
68 +isGuest()=true |isCourseAdministrator()
69 +{{/code}}
70 +
71 +(% class="wrapped" %)
72 +|=(((
73 +Konfiguration im Kurseditor
74 +)))|(((
75 +(% class="content-wrapper" %)
76 +(((
77 +[[image:attach:Kurseditor - Konfiguration nur Gäste und Kursverantwortliche_de.png]]
78 +)))
79 +)))
80 +|=(% colspan="1" %)(% colspan="1" %)
81 +(((
82 +Ansicht als registrierter Nutzer
83 +)))|(% colspan="1" %)(% colspan="1" %)
84 +(((
85 +(% class="content-wrapper" %)
86 +(((
87 +[[image:attach:Kursansicht - nicht für registrierte Nutzer_de.png]]
88 +)))
89 +)))
90 +|=(((
91 +Ansicht als Gastnutzer
92 +)))|(((
93 +[[image:attach:Kursrun - Ansicht nur Gäste_de.png]]
94 +)))
95 +|=(% colspan="1" %)(% colspan="1" %)
96 +(((
97 +Ansicht als Kursverantwortlicher
98 +)))|(% colspan="1" %)(% colspan="1" %)
99 +(((
100 +(% class="content-wrapper" %)
101 +(((
102 +[[image:attach:Kursrun - Ansicht Kursverantwortlicher_de.png]]
103 +)))
104 +)))
105 +{{/expand}}
14 14  {{/layout-cell}}
15 15  {{/layout-section}}
16 -{{/layout}}
17 -{{/sv-translation}}
18 18  
19 -{{sv-translation language="en"}}
20 -{{expand title="Display expert syntax"}}
21 -=== Expert syntax ===
109 +{{layout-section ac:type="single"}}
110 +{{layout-cell}}
111 +{{expand title="Kursinhalte nach Testergebnis freigeben ..."}}
112 +Sie wollen Inhalte in Abhängigkeit eines Tests freigeben? Die Umsetzung dieses Szenarios wird auf der Seite [[doc:Lernwegsteuerung nach Testergebnis]] erläutert.
113 +{{/expand}}
114 +{{/layout-cell}}
115 +{{/layout-section}}
22 22  
117 +{{layout-section ac:type="single"}}
118 +{{layout-cell}}
119 +{{expand title="Weitere Anwendungsbeispiele für Expertenregeln ..."}}
120 +{{info}}
121 +Neben den allgemeinen Beispielen, die unabhängig von der Institution verwendet werden können, sind auch Einschränkungen zu Daten möglich, welche institutionsspezifisch sind und je nach Institution übermittelt werden.
122 +Für OPAL-Nutzer enthält die Seite [[Übersicht der OPAL-Shibboleth-Attribute>>url:https://bildungsportal.sachsen.de/help/attribute-opal_de.html||shape="rect"]] alle aktuell verwendbaren institutionsspezifischen Attribute sächsischer Institutionen.
123 +{{/info}}
124 +
23 23  (% class="wrapped" %)
24 24  |=(((
25 -Type
127 +Beispiele für Regeln in den Tabs //«//Sichtbarkeit//»//, //«//Zugang//»// und //«//Punkte//»// (Struktur-Baustein)
26 26  )))|=(((
27 -Syntax
28 -)))|=(((
29 -Description
129 +Auswirkungen
30 30  )))
31 31  |(((
32 -(% class="TableParagraph" %)
33 -**Constants**
132 +isGuest(0)=true
34 34  )))|(((
35 -(% class="TableParagraph" %)
36 -//TRUE //or //1//
134 +Eingetragen im Tab Sichtbarkeit sehen nur Gäste den Kursbaustein, alle registrierten Nutzer dagegen nicht.
135 +
136 +Eingetragen im Tab Zugang haben ausschließlich Gäste Zugang zu diesem Kursbaustein.
137 +
138 +Alternativ kann auch die Angabe isGuest(0) oder isGuest(0)=1 verwendet werden.
139 +)))
140 +|(% colspan="1" %)(% colspan="1" %)
141 +(((
142 +isGuest(0)=false
143 +)))|(% colspan="1" %)(% colspan="1" %)
144 +(((
145 +Eingetragen im Tab Sichtbarkeit sehen Gäste den Kursbaustein nicht. Eingetragen im Tab Zugang haben Gäste keinen Zugang zu den Inhalten des Kursbausteins.
146 +)))
147 +|(((
148 +inLearningGroup("Anfänger") = false
37 37  )))|(((
38 -(% class="TableParagraph" %)
39 -True
150 +Mit Ausnahme der Gruppe //«//Anfänger//»// ist der Kursbaustein für alle Kursteilnehmer sichtbar.
40 40  )))
41 41  |(((
42 -\\
153 +(now >= date("22.03.2017 12:00")) & (now <= date("23.08.2017 18:00")) | inLearningGroup("Betreuer")
43 43  )))|(((
44 -(% class="TableParagraph" %)
45 -//FALSE //or //0//
155 +Der Kursbaustein ist zwischen dem 22.03.2017 und 23.08.2017 für alle Kursteilnehmer sichtbar, während er für Mitglieder der Lerngruppe //«//Betreuer//»// jederzeit sichtbar ist.
156 +)))
157 +|(((
158 +(now >= date("03.09.2017 00:00")) & (now <= date("13.10.2017 00:00")) & inRightGroup("Assessoren")| isUser("autor")
46 46  )))|(((
47 -(% class="TableParagraph" %)
48 -False
160 +Der Kursbaustein ist zwischen dem 03.09.2017 und 13.10.2017 für alle Kursteilnehmer der Rechtegruppe //«//Assessoren//»// sichtbar, während er für die Person mit dem Benutzernamen //«//autor//»// jederzeit sichtbar ist.
49 49  )))
50 50  |(((
51 -(% class="TableParagraph" %)
52 -**Variable**
163 +isInAttribute("surname","Mue")
53 53  )))|(((
54 -(% class="TableParagraph" %)
55 -//now//
165 +Gibt TRUE für alle Personen, deren Attribut //«//surname//»// die Buchstabenfolge "Mue" enthält. Gibt z. B. TRUE für den Wert "Mueller" oder "Muehlebacher" zurück.
166 +)))
167 +|(% colspan="1" %)(% colspan="1" %)
168 +(((
169 +(getUserProperty("orgUnit") = "Marketing")
170 +)))|(% colspan="1" %)(% colspan="1" %)
171 +(((
172 +Prüft, ob eine Person in der Organisationseinheit "Marketing" ist. Dies ist zum Beispiel sinnvoll, wenn die Daten automatisiert aus LDAP übernommen werden.
173 +)))
174 +|(% colspan="1" %)(% colspan="1" %)
175 +(((
176 +(getPassed("69742969114730") | getPassed("69742969115733") | getPassed("69742969118009")) * 10
177 +)))|(% colspan="1" %)(% colspan="1" %)
178 +(((
179 +Diese Regel wird im Tab //«//Punkte//»// -> //«//Punkte verarbeiten//»// des Bausteins Struktur gesetzt. Der Baustein Struktur zeigt 10 Punkte, wenn einer der Tests (Kursbaustein-IDs "69742969114730", "69742969115733" oder "69742969118009") bestanden wurde, sonst 0 Punkte.
180 +)))
181 +|(% colspan="1" %)(% colspan="1" %)
182 +(((
183 +(getScore("69742969114730") + getScore("69742969115733") + getScore("69742969118009")) >= 140 | getPassed("69978845384688")
184 +)))|(% colspan="1" %)(% colspan="1" %)
185 +(((
186 +Diese Regel wird im Tab //«//Punkte//»// -> //«//Bestanden wenn//»// des Bausteins Struktur gesetzt. Der Baustein Struktur zeigt ein //«//Bestanden//»//, wenn in allen Tests zusammen minimal 140 Punkte erzielt werden oder wenn manuell ein //«//Bestanden//»// gesetzt wird (Kursbaustein Bewertung mit ID "69978845384688").
187 +)))
188 +|(% colspan="1" %)(% colspan="1" %)
189 +(((
190 +getAttempts("70323786958847") > 0
191 +)))|(% colspan="1" %)(% colspan="1" %)
192 +(((
193 +Gibt TRUE zurück, sobald der betreffende Kursteilnehmer den Test mit spezifizierter ID ein erstes Mal abgeschlossen hat.
194 +)))
195 +|(% colspan="1" %)(% colspan="1" %)
196 +(((
197 +getAttempts("70323524635734") <= 3
198 +)))|(% colspan="1" %)(% colspan="1" %)
199 +(((
200 +Gibt FALSE zurück, sobald der betreffende Kursteilnehmer mehr als 3 Dateien in den Abgabeordner des Kursbausteins Aufgabe gelegt hat.
201 +)))
202 +|(% colspan="1" %)(% colspan="1" %)
203 +(((
204 +getInitialEnrollmentDate("70323786958847") <= date("26.5.2017 18:00")
205 +)))|(% colspan="1" %)(% colspan="1" %)
206 +(((
207 +Gibt TRUE für diejenigen Kursteilnehmer zurück, die sich vor 18 Uhr des 26. Mai 2017 über den Kursbaustein Einschreibung mit spezifizierter ID in eine zur Auswahl stehende Gruppe eingeschrieben haben.
208 +)))
209 +|(% colspan="1" %)(% colspan="1" %)
210 +(((
211 +getInitialEnrollmentDate("70323786958847") + 2h > now
212 +)))|(% colspan="1" %)(% colspan="1" %)
213 +(((
214 +Gibt TRUE während zwei Stunden ab Einschreibezeitpunkt für diejenigen Kursteilnehmer zurück, die sich über den Kursbaustein Einschreibung mit spezifizierter ID in eine zur Auswahl stehende Gruppe eingeschrieben haben. So kann abgebildet werden, dass jeder Kursteilnehmer nur während einer bestimmten Zeitdauer z. B. ein Skript bearbeiten kann.
215 +)))
216 +|(% colspan="1" %)(% colspan="1" %)
217 +(((
218 +(getInitialCourseLaunchDate(0) >= never) | (getInitialCourseLaunchDate(0) + 2h > now)
219 +)))|(% colspan="1" %)(% colspan="1" %)
220 +(((
221 +Gibt TRUE zurück, wenn der Kursteilnehmer den Kurs noch nicht besucht hat oder während der ersten zwei Stunden des ersten Kursbesuchs. So kann abgebildet werden, dass jeder Kursteilnehmer nur während einer bestimmten Zeitdauer den Kurs sehen kann.
222 +)))
223 +|(% colspan="1" %)(% colspan="1" %)
224 +(((
225 +(getRecentCourseLaunchDate(0) + 10min) > now
226 +)))|(% colspan="1" %)(% colspan="1" %)
227 +(((
228 +Gibt TRUE zurück, wenn sich der Benutzer seit mehr als 10 Minuten im Kurs bewegt.
229 +)))
230 +|(% colspan="1" %)(% colspan="1" %)
231 +(((
232 +getOnyxTestOutcome("84692289655276","SCORE") >= 10
233 +)))|(% colspan="1" %)(% colspan="1" %)
234 +(((
235 +Gibt TRUE zurück, wenn der Benutzer mindestens 10 Punkte erreicht hat.
236 +)))
237 +|(% colspan="1" %)(% colspan="1" %)
238 +(((
239 +getOnyxTestOutcomeZK("84389429397045","PASS") ="true"
240 +)))|(% colspan="1" %)(% colspan="1" %)
241 +(((
242 +Gibt TRUE zurück, wenn der Benutzer den Test bestanden hat.
243 +)))
244 +|(% colspan="1" %)(% colspan="1" %)
245 +(((
246 +getMark("84692289655276") > 4
247 +)))|(% colspan="1" %)(% colspan="1" %)
248 +(((
249 +Gibt TRUE zurück, wenn die Note des Nutzers für den angegebenen Baustein besser als 4 ist.
250 +)))
251 +|(% colspan="1" %)(% colspan="1" %)
252 +(((
253 +getProgress("69742969114730")>=100
254 +)))|(% colspan="1" %)(% colspan="1" %)
255 +(((
256 +Gibt TRUE zurück, wenn der Nutzer den angegebenen Kursbaustein erledigt hat (Kursfortschritt).
257 +)))
258 +
259 +{{note title="Achtung!"}}
260 +Bitte beachten Sie, dass die oben erwähnten Kursbaustein-IDs Beispiele sind. Wenn Sie Ihren Kurs erstellen, müssen Sie jeweils die IDs Ihrer Kurse referenzieren.
261 +{{/note}}
262 +{{/expand}}
263 +{{/layout-cell}}
264 +{{/layout-section}}
265 +
266 +{{layout-section ac:type="single"}}
267 +{{layout-cell}}
268 +(% class="auto-cursor-target" %)
269 +**Expertnsyntax**
270 +
271 +{{expand title="Übersicht der verfügbaren Expertensyntax ..."}}
272 +(% class="wrapped" %)
273 +|=(((
274 +Typ
275 +)))|=(((
276 +Syntax
277 +)))|=(((
278 +Bedeutung
279 +)))
280 +|(% rowspan="2" %)(% rowspan="2" %)
281 +(((
282 +**Konstanten**
56 56  )))|(((
57 -(% class="TableParagraph" %)
58 -Current server system time
284 +//TRUE// oder //1//
285 +)))|(((
286 +Wahr
59 59  )))
60 60  |(((
61 -(% class="TableParagraph" %)
62 -**Functions**
289 +//FALSE// oder //0//
63 63  )))|(((
64 -(% class="TableParagraph" %)
65 -//date("[date]")//
66 -)))|(((
67 -(% class="TableParagraph" %)
68 -Query date
291 +Falsch
69 69  )))
70 70  |(% colspan="1" %)(% colspan="1" %)
71 71  (((
72 -\\
295 +**Variable**
73 73  )))|(% colspan="1" %)(% colspan="1" %)
74 74  (((
75 -(% class="TableParagraph" %)
76 -//inLearningGroup("//[string]//")//
298 +//now//
77 77  )))|(% colspan="1" %)(% colspan="1" %)
78 78  (((
79 -(% class="TableParagraph" %)
80 -Returns TRUE for all members of the learning group with the title [string] of the current course.
301 +Momentane Server-Systemzeit
81 81  )))
303 +|(% rowspan="37" %)(% rowspan="37" %)
304 +(((
305 +**Funktionen**
306 +)))|(% colspan="1" %)(% colspan="1" %)
307 +(((
308 +//date("//[date]//")//
309 +)))|(% colspan="1" %)(% colspan="1" %)
310 +(((
311 +Datum abfragen
312 +)))
82 82  |(% colspan="1" %)(% colspan="1" %)
83 83  (((
84 -\\
315 +//inLearningGroup("//[string]//")//
85 85  )))|(% colspan="1" %)(% colspan="1" %)
86 86  (((
87 -(% class="TableParagraph" %)
318 +Gibt TRUE für alle Mitglieder der Lerngruppe mit dem Titel [string] des aktuellen Kurses zurück.
319 +)))
320 +|(% colspan="1" %)(% colspan="1" %)
321 +(((
88 88  //inLearningGroup("//[string1]//","//[string2]//")//
89 89  )))|(% colspan="1" %)(% colspan="1" %)
90 90  (((
91 -(% class="TableParagraph" %)
92 -Returns TRUE for all members of the specified learning group [string1] of the course with the specified course ID=[string2].
325 +Gibt TRUE für alle Mitglieder der angegebenen Lerngruppe [string1] des Kurses mit der angegebenen Kurs-ID=[string2] zurück.
93 93  )))
94 94  |(% colspan="1" %)(% colspan="1" %)
95 95  (((
96 -\\
329 +//inLearningGroupWaitingList("//[string]//")//
97 97  )))|(% colspan="1" %)(% colspan="1" %)
98 98  (((
99 -(% class="TableParagraph" %)
100 -//inLearningGroupWaitingList("//[string]//")//
332 +Gibt TRUE für alle Benutzer in der Warteliste der Lerngruppe [string] des aktuellen Kurses zurück.
333 +)))
334 +|(% colspan="1" %)(% colspan="1" %)
335 +(((
336 +//inLearningGroupWaitingList("//[string1]//","//[string2]//")//
101 101  )))|(% colspan="1" %)(% colspan="1" %)
102 102  (((
103 -(% class="TableParagraph" %)
104 -Returns TRUE for all users on the waiting list of the learning group [string] of the current course.
339 +Gibt TRUE für alle Benutzer in der Warteliste der Lerngruppe [string1] des Kurses mit der angegebenen Kurs-ID=[string2] zurück.
105 105  )))
106 106  |(% colspan="1" %)(% colspan="1" %)
107 107  (((
108 -\\
343 +//inRightGroup("//[string]//")//
109 109  )))|(% colspan="1" %)(% colspan="1" %)
110 110  (((
111 -(% class="TableParagraph" %)
112 -//inLearningGroupWaitingList("//[string1]//","//[string2]//"// //)//
346 +Gibt TRUE für alle Mitglieder der Rechtegruppe [string] zurück.
347 +)))
348 +|(% colspan="1" %)(% colspan="1" %)
349 +(((
350 +//isLearningGroupFull("//[string]//")//
113 113  )))|(% colspan="1" %)(% colspan="1" %)
114 114  (((
115 -(% class="TableParagraph" %)
116 -Returns TRUE for all users on the waiting list of the learning group [string1] of the course with the specified course ID=[string2].
353 +Gibt für die angegebene Lerngruppe im aktuellen Kurs den Boolean TRUE (=voll) oder FALSE (=nicht voll) zurück.
117 117  )))
118 118  |(% colspan="1" %)(% colspan="1" %)
119 119  (((
120 -\\
357 +//isLearningGroupFull("//[string1]//","//[string2]//")//
121 121  )))|(% colspan="1" %)(% colspan="1" %)
122 122  (((
123 -(% class="TableParagraph" %)
124 -//inRightGroup("//[string]//")//
360 +Gibt für die angegebene Lerngruppe=[string1] des Kurses mit Kurs-ID=[string2] den Boolean TRUE (=voll) oder FALSE (=nicht voll) zurück.
361 +)))
362 +|(% colspan="1" %)(% colspan="1" %)
363 +(((
364 +//isUser("//[string]//")//
125 125  )))|(% colspan="1" %)(% colspan="1" %)
126 126  (((
127 -(% class="TableParagraph" %)
128 -Returns TRUE for all members of the right group [string].
367 +Gibt TRUE für den Benutzer mit dem Benutzernamen [string] zurück.
129 129  )))
130 130  |(% colspan="1" %)(% colspan="1" %)
131 131  (((
132 -\\
371 +//inLearningArea("//[string]//")//
133 133  )))|(% colspan="1" %)(% colspan="1" %)
134 134  (((
135 -(% class="TableParagraph" %)
136 -//isLearningGroupFull("//[string]//")//
374 +Gibt TRUE für alle Mitglieder der Gruppen im Lernbereich [string] des aktuellen Kurses zurück.
375 +)))
376 +|(% colspan="1" %)(% colspan="1" %)
377 +(((
378 +//inLearningArea("//[string1]//","//[string2]//")//
137 137  )))|(% colspan="1" %)(% colspan="1" %)
138 138  (((
139 -(% class="TableParagraph" %)
140 -Returns the Boolean TRUE (=full) or FALSE (=not full) for the specified learning group in the current course.
381 +Gibt TRUE für alle Mitglieder der Gruppen im angegebenen Lernbereich [string1] des Kurses mit der angegebenen Kurs-ID=[string2] zurück.
141 141  )))
142 142  |(% colspan="1" %)(% colspan="1" %)
143 143  (((
144 -\\
385 +//getNumberOfEnrollments("//[string1]*//")//
145 145  )))|(% colspan="1" %)(% colspan="1" %)
146 146  (((
147 -(% class="TableParagraph" %)
148 -//isLearningGroupFull("//[string1]//","//[string2]//")//
388 +Gibt TRUE zurück, wenn die konfigurierte Anzahl der Lerngruppenmitgliedschaften im Lernbereich (string1) erreicht ist.
389 +)))
390 +|(% colspan="1" %)(% colspan="1" %)
391 +(((
392 +//isGlobalAuthor()//
149 149  )))|(% colspan="1" %)(% colspan="1" %)
150 150  (((
151 -(% class="TableParagraph" %)
152 -Returns the Boolean TRUE (=full) or FALSE (=not full) for the specified learning group=[string1] of the course with the course ID=[string2].
395 +Gibt TRUE für alle Mitglieder der OPAL-Autorengruppe zurück.
153 153  )))
154 154  |(% colspan="1" %)(% colspan="1" %)
155 155  (((
156 -\\
399 +//isCourseAdministrator()//
157 157  )))|(% colspan="1" %)(% colspan="1" %)
158 158  (((
159 -(% class="TableParagraph" %)
160 -//isUser("//[string]//")//
402 +Gibt TRUE für alle Besitzer Ihres Kurses (Lernressource) zurück.
403 +)))
404 +|(% colspan="1" %)(% colspan="1" %)
405 +(((
406 +//isCourseCoach()//
161 161  )))|(% colspan="1" %)(% colspan="1" %)
162 162  (((
163 -(% class="TableParagraph" %)
164 -Returns TRUE for the user with the user name [string].
409 +Gibt TRUE für alle Benutzer zurück, die eine Lerngruppe betreuen.
165 165  )))
166 166  |(% colspan="1" %)(% colspan="1" %)
167 167  (((
168 -\\
413 +//isGuest()//
169 169  )))|(% colspan="1" %)(% colspan="1" %)
170 170  (((
171 -(% class="TableParagraph" %)
172 -//inLearningArea("//[string]//")//
416 +Gibt TRUE für alle Benutzer zurück, die OPAL als Gäste besuchen.
417 +)))
418 +|(% colspan="1" %)(% colspan="1" %)
419 +(((
420 +//isExternalUser()//
173 173  )))|(% colspan="1" %)(% colspan="1" %)
174 174  (((
175 -(% class="TableParagraph" %)
176 -Returns TRUE for all members of the groups in the learning area [string] of the current course.
423 +Gibt TRUE für alle zurück, die OPAL als externe Benutzer verwenden.
177 177  )))
178 178  |(% colspan="1" %)(% colspan="1" %)
179 179  (((
180 -\\
427 +//hasAttribute("//[AttrName]//","//[string]//")//
181 181  )))|(% colspan="1" %)(% colspan="1" %)
182 182  (((
183 -(% class="TableParagraph" %)
184 -//inLearningArea("//[string1]//","//[string2]//")//
430 +Gibt TRUE zurück, wenn [string] dem Wert des AAI-Attributs [AttrName] des jeweiligen Benutzers entspricht.
431 +)))
432 +|(% colspan="1" %)(% colspan="1" %)
433 +(((
434 +//isInAttribute("//[AttrName]//","//[substring]//")//
185 185  )))|(% colspan="1" %)(% colspan="1" %)
186 186  (((
187 -(% class="TableParagraph" %)
188 -Returns TRUE for all members of the groups in the specified learning area [string1] of the course with the specified course ID=[string2].
437 +Gibt TRUE zurück, wenn [substring] einem Teil des Wertes des AAI-Attributs [AttrName] des jeweiligen Benutzers entspricht.
189 189  )))
190 190  |(% colspan="1" %)(% colspan="1" %)
191 191  (((
192 -\\
441 +//getUserProperty("//[string]//")//
193 193  )))|(% colspan="1" %)(% colspan="1" %)
194 194  (((
195 -(% class="TableParagraph" %)
196 -//getNumberOfEnrollments("//[string1]*//")//
444 +Gibt die angegebene Benutzer-Eigenschaft des ausführenden Nutzers zurück.
445 +)))
446 +|(% colspan="1" %)(% colspan="1" %)
447 +(((
448 +//getPassed("//[integer]//")//
197 197  )))|(% colspan="1" %)(% colspan="1" %)
198 198  (((
199 -(% class="TableParagraph" %)
200 -Returns TRUE, when the configured number of learning group members is reached in the learning area (string1).
451 +Gibt vom Kursbaustein mit spezifizierter ID den Boolean TRUE (=Bestanden) oder FALSE (=Nicht bestanden) zurück.
201 201  )))
202 202  |(% colspan="1" %)(% colspan="1" %)
203 203  (((
204 -\\
455 +//getScore("//[integer]//")//
205 205  )))|(% colspan="1" %)(% colspan="1" %)
206 206  (((
207 -(% class="TableParagraph" %)
208 -//isGlobalAuthor(0)//
458 +Gibt vom Kursbaustein mit spezifizierter ID die Anzahl der Punkte zurück.
459 +)))
460 +|(% colspan="1" %)(% colspan="1" %)
461 +(((
462 +//getAttempts("//[integer]//")//
209 209  )))|(% colspan="1" %)(% colspan="1" %)
210 210  (((
211 -(% class="TableParagraph" %)
212 -Returns TRUE for all members of the OPAL author group.
465 +Gibt vom Kursbaustein mit spezifizierter ID die Anzahl abgeschlossener Versuche zurück. Kann auf Kursbausteine vom Typ Test, Selbsttest, Fragebogen (mögliche Rückgabewerte 0 oder 1) und Aufgabe (Rückgabewert = Anzahl abgegebener Dateien) angewandt werden.
213 213  )))
214 214  |(% colspan="1" %)(% colspan="1" %)
215 215  (((
216 -\\
469 +//getInitialEnrollmentDate("//[integer]//")//
217 217  )))|(% colspan="1" %)(% colspan="1" %)
218 218  (((
219 -(% class="TableParagraph" %)
220 -//isCourseAdministrator(0)//
472 +Gibt vom Kursbaustein Einschreibung mit spezifizierter ID das Datum des erstmaligen Einschreibens des betreffenden Kursteilnehmers zurück.
473 +)))
474 +|(% colspan="1" %)(% colspan="1" %)
475 +(((
476 +//getRecentEnrollmentDate("//[integer]//")//
221 221  )))|(% colspan="1" %)(% colspan="1" %)
222 222  (((
223 -(% class="TableParagraph" %)
224 -Returns TRUE for all owners of your course (learning resource).
479 +Gibt vom Kursbaustein Einschreibung mit spezifizierter ID das Datum des letzten Einschreibens des betreffenden Kursteilnehmers zurück.
225 225  )))
226 226  |(% colspan="1" %)(% colspan="1" %)
227 227  (((
228 -\\
483 +//getInitialCourseLaunchDate()//
229 229  )))|(% colspan="1" %)(% colspan="1" %)
230 230  (((
231 -(% class="TableParagraph" %)
232 -//isCourseCoach(0)//
486 +Gibt das Datum des erstmaligen Kursbesuchs des betreffenden Kursteilnehmers zurück.
487 +)))
488 +|(% colspan="1" %)(% colspan="1" %)
489 +(((
490 +//getRecentCourseLaunchDate()//
233 233  )))|(% colspan="1" %)(% colspan="1" %)
234 234  (((
235 -(% class="TableParagraph" %)
236 -Returns TRUE for all users who supervise a learning group.
493 +Gibt das Datum des letzten Kursbesuchs des betreffenden Kursteilnehmers zurück.
237 237  )))
238 238  |(% colspan="1" %)(% colspan="1" %)
239 239  (((
240 -\\
497 +//getPassedWithCourseId("//[integer-1]//","//[integer-2]//")//
241 241  )))|(% colspan="1" %)(% colspan="1" %)
242 242  (((
243 -(% class="TableParagraph" %)
244 -//isGuest(0)//
500 +Gibt vom Kursbaustein mit ID=[integer-2] des Kurses mit ID=[integer-1] den Boolean TRUE (=Bestanden) oder FALSE (=Nicht bestanden) zurück.
501 +)))
502 +|(% colspan="1" %)(% colspan="1" %)
503 +(((
504 +//getScoreWithCourseId("//[integer-1]//","//[integer-2]//")//
245 245  )))|(% colspan="1" %)(% colspan="1" %)
246 246  (((
247 -(% class="TableParagraph" %)
248 -Returns TRUE for all users who visit OPAL as guests.
507 +Gibt vom Kursbaustein mit ID=[integer-2] des Kurses mit ID=[integer-1] die Anzahl der Punkte zurück.
249 249  )))
250 250  |(% colspan="1" %)(% colspan="1" %)
251 251  (((
252 -\\
511 +//getMarkWithCourseId("//[integer-1]//","//[integer-2]//")//
253 253  )))|(% colspan="1" %)(% colspan="1" %)
254 254  (((
255 -(% class="TableParagraph" %)
256 -//isExternalUser(0)//
514 +Gibt vom Kursbaustein mit ID=[integer-2] des Kurses mit ID=[integer-1] die Note zurück.
515 +)))
516 +|(% colspan="1" %)(% colspan="1" %)
517 +(((
518 +//hasEvaluationCompleted("//KB-ID//")//
257 257  )))|(% colspan="1" %)(% colspan="1" %)
258 258  (((
259 -(% class="TableParagraph" %)
260 -Returns TRUE for everyone who uses OPAL as an external user.
521 +Gibt TRUE für alle Benutzer zurück, die den angegebenen Kursbaustein erfolgreich beendet haben.
261 261  )))
262 262  |(% colspan="1" %)(% colspan="1" %)
263 263  (((
264 -\\
525 +//getNumberOfEnrollments("//[string1]*//")//
265 265  )))|(% colspan="1" %)(% colspan="1" %)
266 266  (((
267 -(% class="TableParagraph" %)
268 -//hasAttribute("//[AttrName]//","//[string]//")//
528 +Gibt TRUE zurück, wenn die konfigurierte Anzahl der Lerngruppenmitgliedschaften im Lernbereich (string1) erreicht ist.
529 +)))
530 +|(% colspan="1" %)(% colspan="1" %)
531 +(((
532 +//getOnyxTestOutcome("//[string1]//","//[string2]//")//
269 269  )))|(% colspan="1" %)(% colspan="1" %)
270 270  (((
271 -(% class="TableParagraph" %)
272 -Returns TRUE if [string] matches the value of the AAI attribute [AttrName] of the respective user.
535 +Gibt vom Onyx-Test-Kursbaustein mit spezifizierter ID (string1) und spezifizierter Ausgabevariable (string2) den Wert dieser Variablen zurück. Der Rückgabewert ist eine Zahl.
273 273  )))
274 274  |(% colspan="1" %)(% colspan="1" %)
275 275  (((
276 -\\
539 +//getOnyxTestOutcomeZK("//[string1]//","//[string2]//")//
277 277  )))|(% colspan="1" %)(% colspan="1" %)
278 278  (((
279 -(% class="TableParagraph" %)
280 -//isInAttribute("//[AttrName]//","//[substring]//")//
542 +Gibt vom Onyx-Test-Kursbaustein mit spezifizierter ID (string1) und spezifizierter Ausgabevariable (string2) den Wert dieser Variablen zurück. Der Rückgabewert ist eine Zeichenkette.
543 +)))
544 +|(% colspan="1" %)(% colspan="1" %)
545 +(((
546 +//getProgress(//"[integer]"//)//
281 281  )))|(% colspan="1" %)(% colspan="1" %)
282 282  (((
283 -(% class="TableParagraph" %)
284 -Returns TRUE if [substring] matches a portion of the value of the AAI attribute [AttrName] of the respective user.
549 +Gibt vom Kursbaustein mit spezifizierter ID den Fortschritt als numerischen Wert zwischen 0 und 100 (Prozent) zurück.
285 285  )))
286 286  |(% colspan="1" %)(% colspan="1" %)
287 287  (((
288 -\\
553 +//isPasswordConfirmed("//[string]")
289 289  )))|(% colspan="1" %)(% colspan="1" %)
290 290  (((
291 -(% class="TableParagraph" %)
292 -//getUserProperty("//[string]//")//
556 +Gibt TRUE nach Eingabe des korrekten Passworts (string1) zurück.
557 +
558 +Kann nur bei Kursbausteinen verwendet werden, die auch im einfachen Modus eine Passwortbeschränkung anbieten.
559 +)))
560 +|(% colspan="1" %)(% colspan="1" %)
561 +(((
562 +//comesFrom("//[string]//")//
293 293  )))|(% colspan="1" %)(% colspan="1" %)
294 294  (((
295 -(% class="TableParagraph" %)
296 -Returns the specified user property of the executing user.
565 +Gibt TRUE zurück, wenn der Nutzer ein verlinktes Konto zum OLAT mit der angegebenen System-ID hat.
297 297  )))
567 +|(% rowspan="4" %)(% rowspan="4" %)
568 +(((
569 +**Einheiten**
570 +)))|(% colspan="1" %)(% colspan="1" %)
571 +(((
572 +//min//
573 +)))|(% colspan="1" %)(% colspan="1" %)
574 +(((
575 +Minuten
576 +)))
298 298  |(% colspan="1" %)(% colspan="1" %)
299 299  (((
300 -\\
579 +//h//
301 301  )))|(% colspan="1" %)(% colspan="1" %)
302 302  (((
303 -(% class="TableParagraph" %)
304 -//getPassed("//[integer]//")//
582 +Stunden
583 +)))
584 +|(% colspan="1" %)(% colspan="1" %)
585 +(((
586 +//w//
305 305  )))|(% colspan="1" %)(% colspan="1" %)
306 306  (((
307 -(% class="TableParagraph" %)
308 -Returns the Boolean TRUE (=passed) or FALSE (=not passed) from the course element with the specified ID.
589 +Wochen
309 309  )))
310 310  |(% colspan="1" %)(% colspan="1" %)
311 311  (((
312 -\\
593 +//m//
313 313  )))|(% colspan="1" %)(% colspan="1" %)
314 314  (((
315 -(% class="TableParagraph" %)
316 -//getScore("//[integer]//")//
596 +Monate
597 +)))
598 +|(% rowspan="9" %)(% rowspan="9" %)
599 +(((
600 +**Operatoren**
317 317  )))|(% colspan="1" %)(% colspan="1" %)
318 318  (((
319 -(% class="TableParagraph" %)
320 -Returns the number of points from the course element with the specified ID.
603 +~=
604 +)))|(% colspan="1" %)(% colspan="1" %)
605 +(((
606 +gleich
321 321  )))
322 322  |(% colspan="1" %)(% colspan="1" %)
323 323  (((
324 -\\
610 +~>
325 325  )))|(% colspan="1" %)(% colspan="1" %)
326 326  (((
327 -(% class="TableParagraph" %)
328 -//getAttempts("//[integer]//")//
613 +größer als
614 +)))
615 +|(% colspan="1" %)(% colspan="1" %)
616 +(((
617 +<
329 329  )))|(% colspan="1" %)(% colspan="1" %)
330 330  (((
331 -(% class="TableParagraph" %)
332 -Returns the number of completed attempts from the course element with the specified ID. Can be applied to course elements of the type //Test, Self-test//, //Survey //(possible return values 0 or 1), and //Task //(return value = number of submitted files).
620 +kleiner als
333 333  )))
334 334  |(% colspan="1" %)(% colspan="1" %)
335 335  (((
336 -\\
624 +~>=
337 337  )))|(% colspan="1" %)(% colspan="1" %)
338 338  (((
339 -(% class="TableParagraph" %)
340 -//getInitialEnrollmentDate("//[integer]//")//
627 +größer gleich
628 +)))
629 +|(% colspan="1" %)(% colspan="1" %)
630 +(((
631 +<=
341 341  )))|(% colspan="1" %)(% colspan="1" %)
342 342  (((
343 -(% class="TableParagraph" %)
344 -Returns the date of the respective course participant's first-time enrolment from the course element //Enrolment// with the specified ID.
634 +kleiner gleich
345 345  )))
346 346  |(% colspan="1" %)(% colspan="1" %)
347 347  (((
638 +*
639 +)))|(% colspan="1" %)(% colspan="1" %)
640 +(((
641 +Multiplikation
642 +)))
643 +|(% colspan="1" %)(% colspan="1" %)
644 +(((
645 +/
646 +)))|(% colspan="1" %)(% colspan="1" %)
647 +(((
648 +Division
649 +)))
650 +|(% colspan="1" %)(% colspan="1" %)
651 +(((
652 ++
653 +)))|(% colspan="1" %)(% colspan="1" %)
654 +(((
655 +Addition
656 +)))
657 +|(% colspan="1" %)(% colspan="1" %)
658 +(((
659 +-
660 +)))|(% colspan="1" %)(% colspan="1" %)
661 +(((
662 +Subtraktion
663 +)))
664 +|(% rowspan="3" %)(% rowspan="3" %)
665 +(((
666 +**Booleans**
348 348  \\
349 349  )))|(% colspan="1" %)(% colspan="1" %)
350 350  (((
351 -(% class="TableParagraph" %)
352 -//getRecentEnrollmentDate("//[integer]//")//
670 +&
353 353  )))|(% colspan="1" %)(% colspan="1" %)
354 354  (((
355 -(% class="TableParagraph" %)
356 -Returns the date of the respective course participant's last enrolment from the course element //Enrolment// with the specified ID.
673 +Logisches UND
357 357  )))
358 -|(((
675 +|(% colspan="1" %)(% colspan="1" %)
676 +(((
677 +~|
678 +)))|(% colspan="1" %)(% colspan="1" %)
679 +(((
680 +Logisches ODER
681 +)))
682 +|(% colspan="1" %)(% colspan="1" %)
683 +(((
684 +!
685 +)))|(% colspan="1" %)(% colspan="1" %)
686 +(((
687 +Logisches NICHT
688 +)))
689 +{{/expand}}
690 +{{/layout-cell}}
691 +{{/layout-section}}
692 +{{/layout}}
693 +{{/sv-translation}}
694 +
695 +{{sv-translation language="en"}}
696 +{{layout}}
697 +{{layout-section ac:type="single"}}
698 +{{layout-cell}}
699 +**Application examples of expert rules**
700 +
701 +In the following, you will find examples of how to use the expert syntax.
702 +{{/layout-cell}}
703 +{{/layout-section}}
704 +
705 +{{layout-section ac:type="single"}}
706 +{{layout-cell}}
359 359  \\
708 +{{/layout-cell}}
709 +{{/layout-section}}
710 +
711 +{{layout-section ac:type="single"}}
712 +{{layout-cell}}
713 +**Typical application examples**
714 +
715 +{{expand title="Make individual content elements in a public course only visible to registered users ..."}}
716 +Do you wish to hide certain content elements in a public course from guests? Then enter the following code into the text field next to Expert mode in the Visibility tab of the corresponding course element. This will hide the course element in a publicly accessible course from non-registered guest users.
717 +
718 +{{code}}
719 +isGuest(0)=false
720 +{{/code}}
721 +
722 +(% class="wrapped" %)
723 +|=(((
724 +Configuration in the course editor
360 360  )))|(((
726 +(% class="content-wrapper" %)
727 +(((
728 +[[image:attach:Kurseditor - Konfiguration nur registrierte Nutzer_de.png]]
729 +)))
730 +)))
731 +|=(((
732 +Course view as a registered user
733 +)))|(((
734 +(% class="content-wrapper" %)
735 +(((
736 +[[image:attach:Kursrun - Ansicht registrierte Nutzer_de.png]]
737 +)))
738 +)))
739 +|=(((
740 +Course view as a guest user
741 +)))|(((
742 +(% class="content-wrapper" %)
743 +(((
744 +[[image:attach:Kurseditor - Konfiguration nicht für Gäste_de.png]]
745 +)))
746 +)))
747 +|=(((
748 +Course view as a course owner
749 +)))|(((
750 +(% class="content-wrapper" %)
751 +(((
752 +[[image:attach:Kursrun - Ansicht Kursverantwortlicher_de.png]]
753 +)))
754 +)))
755 +{{/expand}}
756 +
757 +{{expand title="Make individual content elements in a public course only visible to guests ..."}}
758 +Do you wish to display certain content elements in a public course only to guests and course owners? Then enter the following code into the text field next to Expert mode in the Visibility tab of the corresponding course element. This will display the course element in a publicly accessible course only to guest users and course owners.
759 +
760 +{{code}}
761 +isGuest(0)=true |isCourseAdministrator(0)
762 +{{/code}}
763 +
764 +(% class="wrapped" %)
765 +|=(((
766 +Configuration in the course editor
767 +)))|(((
768 +(% class="content-wrapper" %)
769 +(((
770 +[[image:attach:Kurseditor - Konfiguration keine Gäste_de.png]]
771 +)))
772 +)))
773 +|=(((
774 +Course view as a registered user
775 +)))|(((
776 +(% class="content-wrapper" %)
777 +(((
778 +[[image:attach:Kursansicht - nicht für registrierte Nutzer_de.png]]
779 +)))
780 +)))
781 +|=(((
782 +Course view as a guest user
783 +)))|(((
784 +(% class="content-wrapper" %)
785 +(((
786 +[[image:attach:Kursrun - Ansicht nur Gäste_de.png]]
787 +)))
788 +)))
789 +|=(((
790 +Course view as a course owner
791 +)))|(((
792 +(% class="content-wrapper" %)
793 +(((
794 +[[image:attach:Kursrun - Ansicht Kursverantwortlicher_de.png]]
795 +)))
796 +)))
797 +{{/expand}}
798 +{{/layout-cell}}
799 +{{/layout-section}}
800 +
801 +{{layout-section ac:type="single"}}
802 +{{layout-cell}}
803 +{{expand title="Activate course elements according to test result ..."}}
804 +Do you wish to activate certain course elements depending on a test? For instructions on how to implement this scenario, see the help page [[Learning path control by test result>>url:https://www.bps-system.de/help/display/LMSintern/.Lernwegsteuerung+nach+Testergebnis+v12.4||shape="rect"]].
805 +{{/expand}}
806 +{{/layout-cell}}
807 +{{/layout-section}}
808 +
809 +{{layout-section ac:type="single"}}
810 +{{layout-cell}}
811 +{{expand title="Further application examples of the expert syntax ..."}}
812 +{{info}}
813 +In addition to the general examples, which can be used institution-independently, there are also institution-specific restrictions on data that will be transmitted depending on the institution.
814 +
815 +For OPAL users, the help page [[Overview of OPAL Shibboleth attributes>>url:https://bildungsportal.sachsen.de/help/attribute-opal_de.html||shape="rect"]] contains all currently usable institution-specific attributes of Saxon institutions.
816 +{{/info}}
817 +
818 +(% class="wrapped" %)
819 +|=(((
820 +(% style="color: rgb(63,68,68);" %)Examples of rules in the tabs //«//Visibility// », « //Access// », //and //« //Points// » //(structure element)
821 +)))|=(((
822 +Effects
823 +)))
824 +|(((
361 361  (% class="TableParagraph" %)
362 -//getInitialCourseLaunchDate(0)//
826 +isGuest(0)=true
363 363  )))|(((
364 364  (% class="TableParagraph" %)
365 -Returns the date of the first course visit of the respective course participant.
829 +If this code is entered in the Visibility tab, the course element will only be visible to guests, but not to registered users.
830 +
831 +(% class="TableParagraph" %)
832 +If this code is entered in the Access tab, only guests will have access to this course element.
833 +
834 +(% class="TableParagraph" %)
835 +Alternatively, the code isGuest(0) or isGuest (0)=1 can be used.
366 366  )))
837 +|(% colspan="1" %)(% colspan="1" %)
838 +(((
839 +isGuest(0)=false
840 +)))|(% colspan="1" %)(% colspan="1" %)
841 +(((
842 +If this code is entered in the Visibility tab, the course element will be hidden from guests.
843 +
844 +If this code is entered in the Access tab, guests will not have access to the course element's contents.
845 +)))
367 367  |(((
368 -\\
847 +(% class="TableParagraph" %)
848 +inLearningGroup("Beginners") = false
369 369  )))|(((
370 370  (% class="TableParagraph" %)
371 -//getRecentCourseLaunchDate(0)//
851 +With the exception of the «Beginners» group//,// the course element will be visible to all course participants.
852 +)))
853 +|(((
854 +(% class="TableParagraph" %)
855 +(now >= date("22.03.2017 12:00")) & (now <= date("23.08.2017 18:00")) | inLearningGroup("Supervisors")
372 372  )))|(((
373 373  (% class="TableParagraph" %)
374 -Returns the date of the last course visit of the respective course participant.
858 +The course element will be visible to all course participants from 22.03.2017 to 23.08.2017. For the members of the «Supervisors» learning group//, //in contrast, it will be visible// //at any time//.//
375 375  )))
860 +|(((
861 +(% class="TableParagraph" %)
862 +(now >= date("03.09.2017 00:00")) & (now <= date("13.10.2017 00:00")) & inRightGroup("Assessors")| isUser("Author")
863 +)))|(((
864 +(% class="TableParagraph" %)
865 +The course element will be visible to all course participants of the «Assessors» right group from 03.09.2017 to 13.10.2017. For the user with the user name «Author»//, //in contrast, it will be visible at any time.
866 +)))
376 376  |(% colspan="1" %)(% colspan="1" %)
377 377  (((
378 -\\
869 +(% class="TableParagraph" %)
870 +isInAttribute("surname","Mue")
379 379  )))|(% colspan="1" %)(% colspan="1" %)
380 380  (((
381 381  (% class="TableParagraph" %)
382 -//getRecentCourseLaunchDate(0)//
874 +Returns TRUE for all users whose «surname» attribute contains// //the letter sequence "Mue". For example, it returns TRUE for the value "Mueller" or "Muehlebacher".
875 +)))
876 +|(% colspan="1" %)(% colspan="1" %)
877 +(((
878 +(% class="TableParagraph" %)
879 +(getUserProperty("orgUnit") = "Marketing")
383 383  )))|(% colspan="1" %)(% colspan="1" %)
384 384  (((
385 385  (% class="TableParagraph" %)
386 -Returns the date of the last course visit of the respective course participant.
883 +Checks whether a person is in the "Marketing" organisation unit. This is useful, for example, if the data is automatically transferred from LDAP.
387 387  )))
388 388  |(% colspan="1" %)(% colspan="1" %)
389 389  (((
390 -\\
887 +(% class="TableParagraph" %)
888 +(getPassed("69742969114730") | getPassed("69742969115733") | getPassed("69742969118009")) * 10
391 391  )))|(% colspan="1" %)(% colspan="1" %)
392 392  (((
393 393  (% class="TableParagraph" %)
394 -//getPassedWithCourseId("//[integer-1]//","//[integer- 2]//")//
892 +This rule can be set in the «Points» tab -> «Process points» of the Structure course element. The Structure course element shows 10 points if any of the tests (course element IDs "69742969114730", "69742969115733", or "69742969118009") will be passed, otherwise it shows 0 points.
893 +)))
894 +|(% colspan="1" %)(% colspan="1" %)
895 +(((
896 +(getScore("69742969114730") + getScore("69742969115733") + getScore("69742969118009")) >= 140 | getPassed("69978845384688")
395 395  )))|(% colspan="1" %)(% colspan="1" %)
396 396  (((
397 397  (% class="TableParagraph" %)
398 -Returns the Boolean TRUE (=passed) or FALSE (=not passed) from the course element with the ID=[integer-2] of the course with the ID=[integer-1].
900 +This rule can be set in the «Points» tab ->
901 +
902 +«Passed if» of the Structure course element. The Structure course element// //shows "passed" if a minimum of 140 points will be achieved across all tests or if «passed» will be manually set (Assessment course element// //with the ID "69978845384688").
399 399  )))
400 400  |(% colspan="1" %)(% colspan="1" %)
401 401  (((
402 -\\
906 +(% class="TableParagraph" %)
907 +getAttempts("70323786958847") > 0
403 403  )))|(% colspan="1" %)(% colspan="1" %)
404 404  (((
405 405  (% class="TableParagraph" %)
406 -//getScoreWithCourseId("//[integer-1]//","//[integer-2]//")//
911 +Returns TRUE as soon as the course participant has completed the test with the specified ID for the first time.
912 +)))
913 +|(((
914 +(% class="TableParagraph" %)
915 +getAttempts("70323524635734") <= 3
916 +)))|(((
917 +(% class="TableParagraph" %)
918 +Returns FALSE as soon as the course participant has saved more than 3 files to the drop box of the Task course element.
919 +)))
920 +|(((
921 +(% class="TableParagraph" %)
922 +getInitialEnrollmentDate("70323786958847") <= date("26.5.2017 18:00")
923 +)))|(((
924 +(% class="TableParagraph" %)
925 +Returns TRUE for those course participants who enrolled in one of the available groups via the Enrolment course element using a specified ID before 6 p.m. on May 26 2017.
926 +)))
927 +|(% colspan="1" %)(% colspan="1" %)
928 +(((
929 +(% class="TableParagraph" %)
930 +getInitialEnrollmentDate("70323786958847") + 2h > now
407 407  )))|(% colspan="1" %)(% colspan="1" %)
408 408  (((
409 409  (% class="TableParagraph" %)
410 -Returns the number of points from the course element with the ID=[integer-2] of the course with the ID=[integer-1].
934 +Returns TRUE within two hours from the time of enrolment for those course participants who enrolled in one of the available groups via the Enrolment course element using a specified ID. In this way, it can be ensured that each course participant can only e.g. process a script during a certain period of time.
411 411  )))
412 412  |(% colspan="1" %)(% colspan="1" %)
413 413  (((
414 -\\
938 +(% class="TableParagraph" %)
939 +(getInitialCourseLaunchDate(0) >= never) | (getInitialCourseLaunchDate(0) + 2h > now)
415 415  )))|(% colspan="1" %)(% colspan="1" %)
416 416  (((
417 -//getMarkWithCourseId(" //[integer-1]//","//[integer-2]//")//
942 +(% class="TableParagraph" %)
943 +Returns TRUE if the course participant has not yet visited the course, or during the first two hours of the first course visit. In this way, it can be ensured that each course participant can only see the course for a certain period of time.
944 +)))
945 +|(% colspan="1" %)(% colspan="1" %)
946 +(((
947 +(% class="TableParagraph" %)
948 +(getRecentCourseLaunchDate(0) + 10min) > now
418 418  )))|(% colspan="1" %)(% colspan="1" %)
419 419  (((
420 -Returns the grade from the course element with the with the ID=[integer-1].
951 +(% class="TableParagraph" %)
952 +Returns TRUE if the user has been active in the course for more than 10 minutes.
421 421  )))
422 422  |(((
423 -\\
955 +(% class="TableParagraph" %)
956 +getOnyxTestOutcome("84692289655276","SCORE") >= 10
424 424  )))|(((
425 425  (% class="TableParagraph" %)
426 -//hasEvaluationCompleted("//KB-ID//")//
959 +Returns TRUE if the user has reached at least 10 points.
960 +)))
961 +|(((
962 +(% class="TableParagraph" %)
963 +getOnyxTestOutcomeZK("84389429397045","PASS") ="true"
427 427  )))|(((
428 428  (% class="TableParagraph" %)
429 -Returns TRUE for all users who have successfully completed the specified course element.
966 +Returns TRUE if the user has passed the test.
430 430  )))
431 431  |(((
432 -\\
969 +(% class="TableParagraph" %)
970 +getMark("84692289655276") > 4
433 433  )))|(((
434 434  (% class="TableParagraph" %)
435 -//getNumberOfEnrollments("//[string1]*//")//
973 +Returns TRUE if the user's mark for the specified course element is better than 4.
974 +)))
975 +|(% colspan="1" %)(% colspan="1" %)
976 +(((
977 +getProgress("69742969114730")>=100
978 +)))|(% colspan="1" %)(% colspan="1" %)
979 +(((
980 +Returns TRUE if the user has completed the specified course element (course progress).
981 +)))
982 +
983 +{{note title="Attention!"}}
984 +Please note that the above-mentioned course element IDs are just examples. When you create a course, you need to reference the IDs of your own courses.
985 +{{/note}}
986 +{{/expand}}
987 +{{/layout-cell}}
988 +{{/layout-section}}
989 +
990 +{{layout-section ac:type="single"}}
991 +{{layout-cell}}
992 +**Expert syntax**
993 +
994 +{{expand title="Overview of the available expert syntax ..."}}
995 +(% class="wrapped" %)
996 +|=(((
997 +Type
998 +)))|=(((
999 +Syntax
1000 +)))|=(((
1001 +Description
1002 +)))
1003 +|(% rowspan="2" %)(% rowspan="2" %)
1004 +(((
1005 +(% class="TableParagraph" %)
1006 +**Constants**
436 436  )))|(((
437 437  (% class="TableParagraph" %)
438 -Returns TRUE, when the configured number of learning group members is reached in the learning area (string1).
1009 +//TRUE //or //1//
1010 +)))|(((
1011 +(% class="TableParagraph" %)
1012 +True
439 439  )))
440 440  |(((
1015 +(% class="TableParagraph" %)
1016 +//FALSE //or //0//
1017 +)))|(((
1018 +(% class="TableParagraph" %)
1019 +False
1020 +)))
1021 +|(((
1022 +(% class="TableParagraph" %)
1023 +**Variable**
1024 +)))|(((
1025 +(% class="TableParagraph" %)
1026 +//now//
1027 +)))|(((
1028 +(% class="TableParagraph" %)
1029 +Current server system time
1030 +)))
1031 +|(% rowspan="37" %)(% rowspan="37" %)
1032 +(((
1033 +(% class="TableParagraph" %)
1034 +**Functions**
1035 +
1036 +
1037 +\\\\\\\\
1038 +
1039 +(% class="TableParagraph" %)
441 441  \\
1041 +
1042 +(% class="TableParagraph" %)
1043 +\\
1044 +
1045 +(% class="TableParagraph" %)
1046 +\\
1047 +
1048 +
1049 +\\\\\\
1050 +
1051 +(% class="TableParagraph" %)
1052 +\\
1053 +
1054 +(% class="TableParagraph" %)
1055 +\\
1056 +
1057 +(% class="TableParagraph" %)
1058 +\\
1059 +
1060 +(% class="TableParagraph" %)
1061 +\\
1062 +
1063 +(% class="TableParagraph" %)
1064 +\\
1065 +
1066 +(% class="TableParagraph" %)
1067 +\\
1068 +
1069 +
1070 +\\\\\\\\
1071 +
1072 +(% class="TableParagraph" %)
1073 +\\
1074 +
1075 +(% class="TableParagraph" %)
1076 +\\
1077 +
1078 +(% class="TableParagraph" %)
1079 +\\
1080 +
1081 +(% class="TableParagraph" %)
1082 +\\
1083 +
1084 +(% class="TableParagraph" %)
1085 +\\
1086 +
1087 +(% class="TableParagraph" %)
1088 +\\
1089 +
1090 +(% class="TableParagraph" %)
1091 +\\
1092 +
1093 +(% class="TableParagraph" %)
1094 +\\
1095 +
1096 +(% class="TableParagraph" %)
1097 +\\
1098 +
1099 +(% class="TableParagraph" %)
1100 +\\
1101 +
1102 +
1103 +\\\\\\\\\\
1104 +
1105 +(% class="TableParagraph" %)
1106 +\\
1107 +
1108 +(% class="TableParagraph" %)
1109 +\\
1110 +
1111 +(% class="TableParagraph" %)
1112 +\\
1113 +
1114 +(% class="TableParagraph" %)
1115 +\\
1116 +
1117 +(% class="TableParagraph" %)
1118 +\\
1119 +
1120 +(% class="TableParagraph" %)
1121 +\\
1122 +
1123 +(% class="TableParagraph" %)
1124 +\\
1125 +
1126 +(% class="TableParagraph" %)
1127 +\\
1128 +
1129 +(% class="TableParagraph" %)
1130 +\\
1131 +
1132 +(% class="TableParagraph" %)
1133 +\\
1134 +
1135 +(% class="TableParagraph" %)
1136 +\\
1137 +
1138 +(% class="TableParagraph" %)
1139 +\\
1140 +
1141 +(% class="TableParagraph" %)
1142 +\\
1143 +
1144 +(% class="TableParagraph" %)
1145 +\\
1146 +
1147 +(% class="TableParagraph" %)
1148 +\\
1149 +
1150 +
1151 +\\\\\\\\
1152 +
1153 +(% class="TableParagraph" %)
1154 +\\
1155 +
1156 +(% class="TableParagraph" %)
1157 +\\
1158 +
1159 +(% class="TableParagraph" %)
1160 +\\
1161 +
1162 +(% class="TableParagraph" %)
1163 +\\
1164 +
1165 +(% class="TableParagraph" %)
1166 +\\
1167 +
1168 +(% class="TableParagraph" %)
1169 +\\
1170 +
1171 +(% class="TableParagraph" %)
1172 +\\
1173 +
1174 +(% class="TableParagraph" %)
1175 +\\
1176 +
1177 +(% class="TableParagraph" %)
1178 +\\
1179 +
1180 +(% class="TableParagraph" %)
1181 +\\
1182 +
1183 +(% class="TableParagraph" %)
1184 +\\
1185 +
1186 +(% class="TableParagraph" %)
1187 +\\
1188 +
1189 +(% class="TableParagraph" %)
1190 +\\
1191 +
1192 +(% class="TableParagraph" %)
1193 +\\
1194 +
1195 +(% class="TableParagraph" %)
1196 +\\
1197 +
1198 +(% class="TableParagraph" %)
1199 +\\
1200 +
1201 +(% class="TableParagraph" %)
1202 +\\
1203 +
1204 +(% class="TableParagraph" %)
1205 +\\
1206 +
1207 +(% class="TableParagraph" %)
1208 +\\
1209 +
1210 +
1211 +\\\\
1212 +
1213 +(% class="TableParagraph" %)
1214 +\\
1215 +
1216 +(% class="TableParagraph" %)
1217 +\\
1218 +
1219 +(% class="TableParagraph" %)
1220 +\\
1221 +
1222 +(% class="TableParagraph" %)
1223 +\\
1224 +
1225 +(% class="TableParagraph" %)
1226 +\\
1227 +
1228 +(% class="TableParagraph" %)
1229 +\\
1230 +
1231 +(% class="TableParagraph" %)
1232 +\\
1233 +
1234 +(% class="TableParagraph" %)
1235 +\\
1236 +
1237 +(% class="TableParagraph" %)
1238 +\\
1239 +
1240 +(% class="TableParagraph" %)
1241 +\\
1242 +
1243 +(% class="TableParagraph" %)
1244 +\\
1245 +
1246 +(% class="TableParagraph" %)
1247 +\\
1248 +
1249 +(% class="TableParagraph" %)
1250 +\\
1251 +
1252 +(% class="TableParagraph" %)
1253 +\\
1254 +
1255 +(% class="TableParagraph" %)
1256 +\\
1257 +
1258 +(% class="TableParagraph" %)
1259 +\\
1260 +
1261 +(% class="TableParagraph" %)
1262 +\\
1263 +
1264 +(% class="TableParagraph" %)
1265 +\\
1266 +
1267 +(% class="TableParagraph" %)
1268 +\\
1269 +
1270 +(% class="TableParagraph" %)
1271 +\\
1272 +
1273 +(% class="TableParagraph" %)
1274 +\\
1275 +
1276 +
1277 +\\\\
1278 +
1279 +(% class="TableParagraph" %)
1280 +\\
1281 +
1282 +(% class="TableParagraph" %)
1283 +\\
1284 +
1285 +(% class="TableParagraph" %)
1286 +\\
1287 +
1288 +(% class="TableParagraph" %)
1289 +\\
1290 +
1291 +(% class="TableParagraph" %)
1292 +\\
1293 +
1294 +(% class="TableParagraph" %)
1295 +\\
1296 +
1297 +(% class="TableParagraph" %)
1298 +\\
1299 +
1300 +(% class="TableParagraph" %)
1301 +\\
1302 +
1303 +(% class="TableParagraph" %)
1304 +\\
1305 +
1306 +(% class="TableParagraph" %)
1307 +\\
1308 +
1309 +(% class="TableParagraph" %)
1310 +\\
1311 +
1312 +(% class="TableParagraph" %)
1313 +\\
1314 +
1315 +(% class="TableParagraph" %)
1316 +\\
1317 +
1318 +(% class="TableParagraph" %)
1319 +\\
1320 +
1321 +(% class="TableParagraph" %)
1322 +\\
1323 +
1324 +(% class="TableParagraph" %)
1325 +\\
1326 +
1327 +(% class="TableParagraph" %)
1328 +\\
1329 +
1330 +(% class="TableParagraph" %)
1331 +\\
1332 +
1333 +(% class="TableParagraph" %)
1334 +\\
1335 +
1336 +(% class="TableParagraph" %)
1337 +\\
1338 +
1339 +(% class="TableParagraph" %)
1340 +\\
1341 +
1342 +(% class="TableParagraph" %)
1343 +\\
1344 +
1345 +(% class="TableParagraph" %)
1346 +\\
1347 +
1348 +
1349 +\\\\\\\\
1350 +
1351 +(% class="TableParagraph" %)
1352 +\\
1353 +
1354 +(% class="TableParagraph" %)
1355 +\\
1356 +
1357 +(% class="TableParagraph" %)
1358 +\\
1359 +
1360 +(% class="TableParagraph" %)
1361 +\\
1362 +
1363 +(% class="TableParagraph" %)
1364 +\\
1365 +
1366 +(% class="TableParagraph" %)
1367 +\\
1368 +
1369 +(% class="TableParagraph" %)
1370 +\\
1371 +
1372 +(% class="TableParagraph" %)
1373 +\\
1374 +
1375 +(% class="TableParagraph" %)
1376 +\\
1377 +
1378 +(% class="TableParagraph" %)
1379 +\\
1380 +
1381 +(% class="TableParagraph" %)
1382 +\\
1383 +
1384 +(% class="TableParagraph" %)
1385 +\\
1386 +
1387 +(% class="TableParagraph" %)
1388 +\\
1389 +
1390 +(% class="TableParagraph" %)
1391 +\\
1392 +
1393 +(% class="TableParagraph" %)
1394 +\\
1395 +
1396 +(% class="TableParagraph" %)
1397 +\\
1398 +
1399 +(% class="TableParagraph" %)
1400 +\\
1401 +
1402 +(% class="TableParagraph" %)
1403 +\\
1404 +
1405 +(% class="TableParagraph" %)
1406 +\\
1407 +
1408 +(% class="TableParagraph" %)
1409 +\\
1410 +
1411 +(% class="TableParagraph" %)
1412 +\\
1413 +
1414 +(% class="TableParagraph" %)
1415 +\\
1416 +
1417 +(% class="TableParagraph" %)
1418 +\\
1419 +
1420 +(% class="TableParagraph" %)
1421 +\\
1422 +
1423 +(% class="TableParagraph" %)
1424 +\\
1425 +
1426 +(% class="TableParagraph" %)
1427 +\\
1428 +
1429 +(% class="TableParagraph" %)
1430 +\\
1431 +
1432 +
1433 +\\\\\\\\
1434 +
1435 +(% class="TableParagraph" %)
1436 +\\
1437 +
1438 +(% class="TableParagraph" %)
1439 +\\
1440 +
1441 +(% class="TableParagraph" %)
1442 +\\
1443 +
1444 +(% class="TableParagraph" %)
1445 +\\
1446 +
1447 +(% class="TableParagraph" %)
1448 +\\
1449 +
1450 +(% class="TableParagraph" %)
1451 +\\
1452 +
1453 +(% class="TableParagraph" %)
1454 +\\
1455 +
1456 +(% class="TableParagraph" %)
1457 +\\
1458 +
1459 +(% class="TableParagraph" %)
1460 +\\
1461 +
1462 +(% class="TableParagraph" %)
1463 +\\
1464 +
1465 +(% class="TableParagraph" %)
1466 +\\
1467 +
1468 +(% class="TableParagraph" %)
1469 +\\
1470 +
1471 +(% class="TableParagraph" %)
1472 +\\
1473 +
1474 +(% class="TableParagraph" %)
1475 +\\
1476 +
1477 +(% class="TableParagraph" %)
1478 +\\
1479 +
1480 +(% class="TableParagraph" %)
1481 +\\
1482 +
1483 +(% class="TableParagraph" %)
1484 +\\
1485 +
1486 +(% class="TableParagraph" %)
1487 +\\
1488 +
1489 +(% class="TableParagraph" %)
1490 +\\
1491 +
1492 +(% class="TableParagraph" %)
1493 +\\
1494 +
1495 +(% class="TableParagraph" %)
1496 +\\
1497 +
1498 +(% class="TableParagraph" %)
1499 +\\
1500 +
1501 +(% class="TableParagraph" %)
1502 +\\
1503 +
1504 +(% class="TableParagraph" %)
1505 +\\
1506 +
1507 +(% class="TableParagraph" %)
1508 +\\
1509 +
1510 +(% class="TableParagraph" %)
1511 +\\
1512 +
1513 +(% class="TableParagraph" %)
1514 +\\
1515 +
1516 +\\
1517 +
1518 +(% class="TableParagraph" %)
1519 +\\
1520 +
1521 +(% class="TableParagraph" %)
1522 +\\
1523 +
1524 +(% class="TableParagraph" %)
1525 +\\
1526 +
1527 +
1528 +\\\\\\\\
442 442  )))|(((
443 443  (% class="TableParagraph" %)
444 -//getOnyxTestOutcome("//[string1]//","//[string2]//")//
1531 +//date("[date]")//
445 445  )))|(((
446 446  (% class="TableParagraph" %)
447 -Returns the value of the output variable from the ONYX test course element with the specified ID (string1) and the specified output variable (string2). The return value is a number.
1534 +Query date
448 448  )))
449 449  |(% colspan="1" %)(% colspan="1" %)
450 450  (((
451 -\\
452 -)))|(% colspan="1" %)(% colspan="1" %)
453 -(((
454 454  (% class="TableParagraph" %)
455 -//getOnyxTestOutcomeZK("//[string1]//","//[string2]//")//
1539 +//inLearningGroup("//[string]//")//
456 456  )))|(% colspan="1" %)(% colspan="1" %)
457 457  (((
458 458  (% class="TableParagraph" %)
459 -Returns the value of the output variable from the ONYX test course element with the specified ID (string1) and the specified output variable (string2). The return value is a string.
1543 +Returns TRUE for all members of the learning group with the title [string] of the current course.
460 460  )))
461 461  |(% colspan="1" %)(% colspan="1" %)
462 462  (((
463 -\\
464 -)))|(% colspan="1" %)(% colspan="1" %)
465 -(((
466 466  (% class="TableParagraph" %)
467 -//getProgress(//"[integer]"//)//
1548 +//inLearningGroup("//[string1]//","//[string2]//")//
468 468  )))|(% colspan="1" %)(% colspan="1" %)
469 469  (((
470 470  (% class="TableParagraph" %)
471 -Returns the progress from the course element with the specified ID as a numerical value between 0 and 100 (percent).
1552 +Returns TRUE for all members of the specified learning group [string1] of the course with the specified course ID=[string2].
472 472  )))
473 473  |(% colspan="1" %)(% colspan="1" %)
474 474  (((
475 -\\
476 -)))|(% colspan="1" %)(% colspan="1" %)
477 -(((
478 478  (% class="TableParagraph" %)
479 -//isPasswordConfirmed("//[string]")
1557 +//inLearningGroupWaitingList("//[string]//")//
480 480  )))|(% colspan="1" %)(% colspan="1" %)
481 481  (((
482 482  (% class="TableParagraph" %)
483 -Returns TRUE after entering the correct password (string1).
484 -
485 -(% class="TableParagraph" %)
486 -Can only be used with course elements which offer a password restriction even in simple mode.
1561 +Returns TRUE for all users on the waiting list of the learning group [string] of the current course.
487 487  )))
488 488  |(% colspan="1" %)(% colspan="1" %)
489 489  (((
490 -\\
491 -)))|(% colspan="1" %)(% colspan="1" %)
492 -(((
493 493  (% class="TableParagraph" %)
494 -//comesFrom("//[string]//")//
1566 +//inLearningGroupWaitingList("//[string1]//","//[string2]//"// //)//
495 495  )))|(% colspan="1" %)(% colspan="1" %)
496 496  (((
497 497  (% class="TableParagraph" %)
498 -Returns TRUE if the user has a linked account to OLAT with the specified system ID.
1570 +Returns TRUE for all users on the waiting list of the learning group [string1] of the course with the specified course ID=[string2].
499 499  )))
500 500  |(% colspan="1" %)(% colspan="1" %)
501 501  (((
502 502  (% class="TableParagraph" %)
503 -**Units**
1575 +//inRightGroup("//[string]//")//
504 504  )))|(% colspan="1" %)(% colspan="1" %)
505 505  (((
506 506  (% class="TableParagraph" %)
507 -//min//
1579 +Returns TRUE for all members of the right group [string].
1580 +)))
1581 +|(% colspan="1" %)(% colspan="1" %)
1582 +(((
1583 +(% class="TableParagraph" %)
1584 +//isLearningGroupFull("//[string]//")//
508 508  )))|(% colspan="1" %)(% colspan="1" %)
509 509  (((
510 510  (% class="TableParagraph" %)
511 -Minutes
1588 +Returns the Boolean TRUE (=full) or FALSE (=not full) for the specified learning group in the current course.
512 512  )))
513 513  |(% colspan="1" %)(% colspan="1" %)
514 514  (((
515 -\\
516 -)))|(% colspan="1" %)(% colspan="1" %)
517 -(((
518 518  (% class="TableParagraph" %)
519 -//h//
1593 +//isLearningGroupFull("//[string1]//","//[string2]//")//
520 520  )))|(% colspan="1" %)(% colspan="1" %)
521 521  (((
522 522  (% class="TableParagraph" %)
523 -//h//
1597 +Returns the Boolean TRUE (=full) or FALSE (=not full) for the specified learning group=[string1] of the course with the course ID=[string2].
524 524  )))
525 525  |(% colspan="1" %)(% colspan="1" %)
526 526  (((
527 -\\
1601 +(% class="TableParagraph" %)
1602 +//isUser("//[string]//")//
528 528  )))|(% colspan="1" %)(% colspan="1" %)
529 529  (((
530 530  (% class="TableParagraph" %)
531 -//w//
1606 +Returns TRUE for the user with the user name [string].
1607 +)))
1608 +|(% colspan="1" %)(% colspan="1" %)
1609 +(((
1610 +(% class="TableParagraph" %)
1611 +//inLearningArea("//[string]//")//
532 532  )))|(% colspan="1" %)(% colspan="1" %)
533 533  (((
534 534  (% class="TableParagraph" %)
535 -Weeks
1615 +Returns TRUE for all members of the groups in the learning area [string] of the current course.
536 536  )))
537 537  |(% colspan="1" %)(% colspan="1" %)
538 538  (((
539 -\\
1619 +(% class="TableParagraph" %)
1620 +//inLearningArea("//[string1]//","//[string2]//")//
540 540  )))|(% colspan="1" %)(% colspan="1" %)
541 541  (((
542 542  (% class="TableParagraph" %)
543 -//m//
1624 +Returns TRUE for all members of the groups in the specified learning area [string1] of the course with the specified course ID=[string2].
1625 +)))
1626 +|(% colspan="1" %)(% colspan="1" %)
1627 +(((
1628 +(% class="TableParagraph" %)
1629 +//getNumberOfEnrollments("//[string1]*//")//
544 544  )))|(% colspan="1" %)(% colspan="1" %)
545 545  (((
546 546  (% class="TableParagraph" %)
547 -Months
1633 +Returns TRUE, when the configured number of learning group members is reached in the learning area (string1).
548 548  )))
549 549  |(% colspan="1" %)(% colspan="1" %)
550 550  (((
551 551  (% class="TableParagraph" %)
552 -**Operators**
1638 +//isGlobalAuthor()//
553 553  )))|(% colspan="1" %)(% colspan="1" %)
554 554  (((
555 555  (% class="TableParagraph" %)
556 -~=
1642 +Returns TRUE for all members of the OPAL author group.
1643 +)))
1644 +|(% colspan="1" %)(% colspan="1" %)
1645 +(((
1646 +(% class="TableParagraph" %)
1647 +//isCourseAdministrator()//
557 557  )))|(% colspan="1" %)(% colspan="1" %)
558 558  (((
559 559  (% class="TableParagraph" %)
560 -equal to
1651 +Returns TRUE for all owners of your course (learning resource).
561 561  )))
562 -|(((
563 -\\
564 -)))|(((
1653 +|(% colspan="1" %)(% colspan="1" %)
1654 +(((
565 565  (% class="TableParagraph" %)
566 -~>
567 -)))|(((
1656 +//isCourseCoach()//
1657 +)))|(% colspan="1" %)(% colspan="1" %)
1658 +(((
568 568  (% class="TableParagraph" %)
569 -greater than
1660 +Returns TRUE for all users who supervise a learning group.
570 570  )))
571 -|(((
572 -\\
573 -)))|(((
1662 +|(% colspan="1" %)(% colspan="1" %)
1663 +(((
574 574  (% class="TableParagraph" %)
575 -<
576 -)))|(((
1665 +//isGuest()//
1666 +)))|(% colspan="1" %)(% colspan="1" %)
1667 +(((
577 577  (% class="TableParagraph" %)
578 -less than
1669 +Returns TRUE for all users who visit OPAL as guests.
579 579  )))
580 -|(((
581 -\\
582 -)))|(((
1671 +|(% colspan="1" %)(% colspan="1" %)
1672 +(((
583 583  (% class="TableParagraph" %)
584 -~>=
585 -)))|(((
1674 +//isExternalUser()//
1675 +)))|(% colspan="1" %)(% colspan="1" %)
1676 +(((
586 586  (% class="TableParagraph" %)
587 -greater than or equal to
1678 +Returns TRUE for everyone who uses OPAL as an external user.
588 588  )))
589 -|(((
590 -\\
591 -)))|(((
1680 +|(% colspan="1" %)(% colspan="1" %)
1681 +(((
592 592  (% class="TableParagraph" %)
593 -<=
594 -)))|(((
1683 +//hasAttribute("//[AttrName]//","//[string]//")//
1684 +)))|(% colspan="1" %)(% colspan="1" %)
1685 +(((
595 595  (% class="TableParagraph" %)
596 -less than or equal to
1687 +Returns TRUE if [string] matches the value of the AAI attribute [AttrName] of the respective user.
597 597  )))
598 -|(((
599 -\\
600 -)))|(((
1689 +|(% colspan="1" %)(% colspan="1" %)
1690 +(((
601 601  (% class="TableParagraph" %)
602 -*
603 -)))|(((
1692 +//isInAttribute("//[AttrName]//","//[substring]//")//
1693 +)))|(% colspan="1" %)(% colspan="1" %)
1694 +(((
604 604  (% class="TableParagraph" %)
605 -Multiplication
1696 +Returns TRUE if [substring] matches a portion of the value of the AAI attribute [AttrName] of the respective user.
606 606  )))
607 607  |(% colspan="1" %)(% colspan="1" %)
608 608  (((
609 -\\
1700 +(% class="TableParagraph" %)
1701 +//getUserProperty("//[string]//")//
610 610  )))|(% colspan="1" %)(% colspan="1" %)
611 611  (((
612 612  (% class="TableParagraph" %)
613 -/
1705 +Returns the specified user property of the executing user.
1706 +)))
1707 +|(% colspan="1" %)(% colspan="1" %)
1708 +(((
1709 +(% class="TableParagraph" %)
1710 +//getPassed("//[integer]//")//
614 614  )))|(% colspan="1" %)(% colspan="1" %)
615 615  (((
616 616  (% class="TableParagraph" %)
617 -Division
1714 +Returns the Boolean TRUE (=passed) or FALSE (=not passed) from the course element with the specified ID.
618 618  )))
619 619  |(% colspan="1" %)(% colspan="1" %)
620 620  (((
621 -\\
1718 +(% class="TableParagraph" %)
1719 +//getScore("//[integer]//")//
622 622  )))|(% colspan="1" %)(% colspan="1" %)
623 623  (((
624 624  (% class="TableParagraph" %)
625 -+
1723 +Returns the number of points from the course element with the specified ID.
1724 +)))
1725 +|(% colspan="1" %)(% colspan="1" %)
1726 +(((
1727 +(% class="TableParagraph" %)
1728 +//getAttempts("//[integer]//")//
626 626  )))|(% colspan="1" %)(% colspan="1" %)
627 627  (((
628 628  (% class="TableParagraph" %)
629 -Addition
1732 +Returns the number of completed attempts from the course element with the specified ID. Can be applied to course elements of the type Test, Self-test, Survey (possible return values 0 or 1), and Task (return value = number of submitted files).
630 630  )))
631 631  |(% colspan="1" %)(% colspan="1" %)
632 632  (((
633 -\\
1736 +(% class="TableParagraph" %)
1737 +//getInitialEnrollmentDate("//[integer]//")//
634 634  )))|(% colspan="1" %)(% colspan="1" %)
635 635  (((
636 636  (% class="TableParagraph" %)
637 --
1741 +Returns the date of the respective course participant's first-time enrolment from the Enrolment course element with the specified ID.
1742 +)))
1743 +|(% colspan="1" %)(% colspan="1" %)
1744 +(((
1745 +(% class="TableParagraph" %)
1746 +//getRecentEnrollmentDate("//[integer]//")//
638 638  )))|(% colspan="1" %)(% colspan="1" %)
639 639  (((
640 640  (% class="TableParagraph" %)
641 -Subtraction
1750 +Returns the date of the respective course participant's last enrolment from the Enrolment course element with the specified ID.
642 642  )))
643 643  |(((
644 644  (% class="TableParagraph" %)
645 -**Booleans**
1754 +//getInitialCourseLaunchDate()//
646 646  )))|(((
647 647  (% class="TableParagraph" %)
648 -&
649 -)))|(((
650 -(% class="TableParagraph" %)
651 -Logical AND
1757 +Returns the date of the first-time course visit of the respective course participant.
652 652  )))
653 653  |(((
654 -\\
655 -)))|(((
656 656  (% class="TableParagraph" %)
657 -~|
1761 +//getRecentCourseLaunchDate()//
658 658  )))|(((
659 659  (% class="TableParagraph" %)
660 -Logical OR
1764 +Returns the date of the last course visit of the respective course participant.
661 661  )))
662 -|(((
663 -\\
664 -)))|(((
1766 +|(% colspan="1" %)(% colspan="1" %)
1767 +(((
665 665  (% class="TableParagraph" %)
666 -!
667 -)))|(((
1769 +//getPassedWithCourseId("//[integer-1]//","//[integer- 2]//")//
1770 +)))|(% colspan="1" %)(% colspan="1" %)
1771 +(((
668 668  (% class="TableParagraph" %)
669 -Logical NOT
1773 +Returns the Boolean TRUE (=passed) or FALSE (=not passed) from the course element with the ID=[integer-2] of the course with the ID=[integer-1].
670 670  )))
671 -{{/expand}}
672 -
673 -{{expand title="Application examples of the expert syntax"}}
674 -=== Application examples ===
675 -
676 -In the following section, you will find examples on how to use the expert syntax.
677 -
678 -{{info}}
679 -In addition to these institution-independent examples, there are also institution-dependent rules that restrict and transmit data according to the user's institution (DFN-AAI attributes).
680 -
681 -For OPAL users, the page [[Overview of OPAL Shibboleth attributes>>url:https://bildungsportal.sachsen.de/help/attribute-opal_de.html||shape="rect"]] contains all currently usable institution-specific attributes of Saxon institutions.
682 -{{/info}}
683 -
684 -(% class="wrapped" %)
685 -|=(((
686 -(% style="color: rgb(63,68,68);" %)Examples of rules in the tabs //«Visibility», «Access», //and// «Points» //(structure element)
687 -)))|=(((
688 -Effects
689 -)))
690 -|(((
1775 +|(% colspan="1" %)(% colspan="1" %)
1776 +(((
691 691  (% class="TableParagraph" %)
692 -isGuest(0) or isGuest(0)=1 or isGuest(0)=true
693 -)))|(((
1778 +//getScoreWithCourseId("//[integer-1]//","//[integer-2]//")//
1779 +)))|(% colspan="1" %)(% colspan="1" %)
1780 +(((
694 694  (% class="TableParagraph" %)
695 -Only guests have access to the course element.
1782 +Returns the number of points from the course element with the ID=[integer-2] of the course with the ID=[integer-1].
696 696  )))
1784 +|(% colspan="1" %)(% colspan="1" %)
1785 +(((
1786 +//getMarkWithCourseId(" //[integer-1]//","//[integer-2]//")//
1787 +)))|(% colspan="1" %)(% colspan="1" %)
1788 +(((
1789 +Returns the mark from the course element with the ID=[integer-2] of the course with the ID=[integer-1].
1790 +)))
697 697  |(((
698 698  (% class="TableParagraph" %)
699 -inLearningGroup("Beginners") = 0
1793 +//hasEvaluationCompleted("//KB-ID//")//
700 700  )))|(((
701 701  (% class="TableParagraph" %)
702 -With the exception of the group //«Beginners»,// the course element is visible to all course participants.
1796 +Returns TRUE for all users who have successfully completed the specified course element.
703 703  )))
704 704  |(((
705 705  (% class="TableParagraph" %)
706 -(now >= date("22.03.2017 12:00")) & (now <= date("23.08.2017 18:00")) | inLearningGroup("Supervisors")
1800 +//getNumberOfEnrollments("//[string1]*//")//
707 707  )))|(((
708 708  (% class="TableParagraph" %)
709 -The course element will be visible to all course participants from 22.03.2017 to 23.08.2017. For the members of the learning group //«Supervisors», //in contrast, it will be visible// //at any time//.//
1803 +Returns TRUE, when the configured number of learning group members is reached in the learning area (string1).
710 710  )))
711 711  |(((
712 712  (% class="TableParagraph" %)
713 -(now >= date("03.09.2017 00:00")) & (now <= date("13.10.2017 00:00")) & inRightGroup("Assessors")| isUser("Author")
1807 +//getOnyxTestOutcome("//[string1]//","//[string2]//")//
714 714  )))|(((
715 715  (% class="TableParagraph" %)
716 -The course element will be visible to all course participants of the right group //«Assessors»// from 03.09.2017 to 13.10.2017. For the person with the user name //«Author», //in contrast, it will be visible at any time.
1810 +Returns from the ONYX test course element with the specified ID (string1) and the specified output variable (string2) the value of this variable. The return value will be a number.
717 717  )))
718 718  |(% colspan="1" %)(% colspan="1" %)
719 719  (((
720 720  (% class="TableParagraph" %)
721 -isInAttribute("surname","Mue")
1815 +//getOnyxTestOutcomeZK("//[string1]//","//[string2]//")//
722 722  )))|(% colspan="1" %)(% colspan="1" %)
723 723  (((
724 724  (% class="TableParagraph" %)
725 -Returns TRUE for all persons whose attribute //surname// contains// //the letter sequence "Mue". It returns TRUE e.g. for the value "Mueller" or "Muehlebacher".
1819 +Returns from the ONYX test course element with the specified ID (string1) and the specified output variable (string2) the value of this variable. The return value will be a string.
726 726  )))
727 727  |(% colspan="1" %)(% colspan="1" %)
728 728  (((
729 729  (% class="TableParagraph" %)
730 -(getUserProperty("orgUnit") = "Marketing")
1824 +//getProgress(//"[integer]"//)//
731 731  )))|(% colspan="1" %)(% colspan="1" %)
732 732  (((
733 733  (% class="TableParagraph" %)
734 -Checks whether a person is in the organisation unit "Marketing". This is for example useful if the data are automatically transferred from LDAP.
1828 +Returns the progress from the course element with the specified ID as a numerical value between 0 and 100 (percent).
735 735  )))
736 736  |(% colspan="1" %)(% colspan="1" %)
737 737  (((
738 738  (% class="TableParagraph" %)
739 -(getPassed("69742969114730") | getPassed("69742969115733") | getPassed("69742969118009")) * 10
1833 +//isPasswordConfirmed("//[string]")
740 740  )))|(% colspan="1" %)(% colspan="1" %)
741 741  (((
742 742  (% class="TableParagraph" %)
743 -This rule is set in the tab //«Points» //-> //«Process points»// of the course element //Structure//. The course element //Structure //shows 10 points if any of the tests (course element IDs "69742969114730", "69742969115733", or "69742969118009") has been passed, otherwise it will show 0 points.
1837 +Returns TRUE after entering the correct password (string1).
1838 +
1839 +(% class="TableParagraph" %)
1840 +Can only be used with course elements that allow a password restriction even in simple mode.
744 744  )))
745 745  |(% colspan="1" %)(% colspan="1" %)
746 746  (((
747 -(getScore("69742969114730") + getScore("69742969115733") + getScore("69742969118009")) >= 140 | getPassed("69978845384688")
1844 +(% class="TableParagraph" %)
1845 +//comesFrom("//[string]//")//
748 748  )))|(% colspan="1" %)(% colspan="1" %)
749 749  (((
750 750  (% class="TableParagraph" %)
751 -This rule is set in the tab //«Points» //->
1849 +Returns TRUE if the user has a linked account to OLAT with the specified system ID.
1850 +)))
1851 +|(% rowspan="4" %)(% rowspan="4" %)
1852 +(((
1853 +(% class="TableParagraph" %)
1854 +**Units**
752 752  
753 -//«Passed if»// of the course element //Structure//. The course element //Structure //shows a //"passed"// if a minimum of 140 points is achieved in all tests together or if a //«passed» //is set manually// //(course element //Assessment //with the ID "69978845384688").
1856 +
1857 +\\\\
1858 +)))|(% colspan="1" %)(% colspan="1" %)
1859 +(((
1860 +(% class="TableParagraph" %)
1861 +//min//
1862 +)))|(% colspan="1" %)(% colspan="1" %)
1863 +(((
1864 +(% class="TableParagraph" %)
1865 +Minutes
754 754  )))
755 755  |(% colspan="1" %)(% colspan="1" %)
756 756  (((
757 757  (% class="TableParagraph" %)
758 -getAttempts("70323786958847") > 0
1870 +//h//
759 759  )))|(% colspan="1" %)(% colspan="1" %)
760 760  (((
761 761  (% class="TableParagraph" %)
762 -Returns TRUE as soon as the course participant has completed the test with the specified ID for the first time.
1874 +Hours//
1875 +//
763 763  )))
1877 +|(% colspan="1" %)(% colspan="1" %)
1878 +(((
1879 +(% class="TableParagraph" %)
1880 +//w//
1881 +)))|(% colspan="1" %)(% colspan="1" %)
1882 +(((
1883 +(% class="TableParagraph" %)
1884 +Weeks
1885 +)))
1886 +|(% colspan="1" %)(% colspan="1" %)
1887 +(((
1888 +(% class="TableParagraph" %)
1889 +//m//
1890 +)))|(% colspan="1" %)(% colspan="1" %)
1891 +(((
1892 +(% class="TableParagraph" %)
1893 +Months
1894 +)))
1895 +|(% rowspan="9" %)(% rowspan="9" %)
1896 +(((
1897 +(% class="TableParagraph" %)
1898 +**Operators**
1899 +
1900 +
1901 +\\\\\\\\\\\\\\
1902 +)))|(% colspan="1" %)(% colspan="1" %)
1903 +(((
1904 +(% class="TableParagraph" %)
1905 +~=
1906 +)))|(% colspan="1" %)(% colspan="1" %)
1907 +(((
1908 +(% class="TableParagraph" %)
1909 +Equal to
1910 +)))
764 764  |(((
765 765  (% class="TableParagraph" %)
766 -getAttempts("70323524635734") <= 3
1913 +~>
767 767  )))|(((
768 768  (% class="TableParagraph" %)
769 -Returns FALSE as soon as the course participant has saved more than 3 files in the drop box of the course element //Task//.
1916 +Greater than
770 770  )))
771 771  |(((
772 772  (% class="TableParagraph" %)
773 -getInitialEnrollmentDate("70323786958847") <= date("26.5.2017 18:00")
1920 +<
774 774  )))|(((
775 775  (% class="TableParagraph" %)
776 -Returns TRUE for those course participants who have enrolled in one of the available groups before 6 p.m. on May 26, 2017 via the course element //Enrolment// with a specified ID.
1923 +Less than
777 777  )))
1925 +|(((
1926 +(% class="TableParagraph" %)
1927 +~>=
1928 +)))|(((
1929 +(% class="TableParagraph" %)
1930 +Greater than or equal to
1931 +)))
1932 +|(((
1933 +(% class="TableParagraph" %)
1934 +<=
1935 +)))|(((
1936 +(% class="TableParagraph" %)
1937 +Less than or equal to
1938 +)))
1939 +|(((
1940 +(% class="TableParagraph" %)
1941 +*
1942 +)))|(((
1943 +(% class="TableParagraph" %)
1944 +Multiplication
1945 +)))
778 778  |(% colspan="1" %)(% colspan="1" %)
779 779  (((
780 780  (% class="TableParagraph" %)
781 -getInitialEnrollmentDate("70323786958847") + 2h > now
1949 +/
782 782  )))|(% colspan="1" %)(% colspan="1" %)
783 783  (((
784 784  (% class="TableParagraph" %)
785 -Returns TRUE within two hours from the time of enrolment for those course participants who have enrolled in one of the available groups via the course element //Enrolment// with a specified ID. In this way, it can be ensured that each course participant can only e.g. process a script during a certain period of time.
1953 +Division
786 786  )))
787 787  |(% colspan="1" %)(% colspan="1" %)
788 788  (((
789 789  (% class="TableParagraph" %)
790 -(getInitialCourseLaunchDate(0) >= never) | (getInitialCourseLaunchDate(0) + 2h > now)
1958 ++
791 791  )))|(% colspan="1" %)(% colspan="1" %)
792 792  (((
793 793  (% class="TableParagraph" %)
794 -Returns TRUE if the course participant has not yet visited the course, or during the first two hours of the first course visit. In this way, it can be ensured that each course participant can only see the course for a certain period of time.
1962 +Addition
795 795  )))
796 796  |(% colspan="1" %)(% colspan="1" %)
797 797  (((
798 798  (% class="TableParagraph" %)
799 -(getRecentCourseLaunchDate(0) + 10min) > now
1967 +-
800 800  )))|(% colspan="1" %)(% colspan="1" %)
801 801  (((
802 802  (% class="TableParagraph" %)
803 -Returns TRUE if the user has been active in the course for more than 10 minutes.
1971 +Subtraction
804 804  )))
805 -|(((
1973 +|(% rowspan="3" %)(% rowspan="3" %)
1974 +(((
806 806  (% class="TableParagraph" %)
807 -getOnyxTestOutcome("84692289655276","SCORE") >= 10
1976 +**Booleans**
1977 +
1978 +
1979 +\\
808 808  )))|(((
809 809  (% class="TableParagraph" %)
810 -Returns TRUE if the user has reached at least 10 points.
1982 +&
1983 +)))|(((
1984 +(% class="TableParagraph" %)
1985 +Logical AND
811 811  )))
812 812  |(((
813 813  (% class="TableParagraph" %)
814 -getOnyxTestOutcomeZK("84389429397045","PASS") ="true"
1989 +~|
815 815  )))|(((
816 816  (% class="TableParagraph" %)
817 -Returns TRUE if the user has passed the test.
1992 +Logical OR
818 818  )))
819 819  |(((
820 820  (% class="TableParagraph" %)
821 -getMark("84692289655276") > 4
1996 +!
822 822  )))|(((
823 823  (% class="TableParagraph" %)
824 -Returns TRUE if the user's grade for the specified course element is better than 4.
1999 +Logical NOT
825 825  )))
826 -
827 -{{note title="Attention!"}}
828 -Please note that the above-mentioned course element IDs are just examples. When you create a course, you need to reference the ID of your own course.
829 -{{/note}}
830 830  {{/expand}}
2002 +{{/layout-cell}}
2003 +{{/layout-section}}
2004 +{{/layout}}
831 831  {{/sv-translation}}
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -374047899
1 +648872405
url
... ... @@ -1,1 +1,1 @@
1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/LMS/pages/374047899/Expertenregeln
1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/LMS/pages/648872405/Expert Mode