Änderungen von Dokument Expertenmodus

Zuletzt geändert von Carina Enke am 26.11.2025

Von Version 155.1
bearbeitet von Carina Enke
am 23.03.2020
Änderungskommentar: Es gibt keinen Kommentar für diese Version
Auf Version 92.1
bearbeitet von Carina Enke
am 10.06.2020
Änderungskommentar: Mittels Scroll Versions veröffentlicht aus dem Bereich LMSintern und Version 13.2.

Zusammenfassung

Details

Seiteneigenschaften
Titel
... ... @@ -1,1 +1,1 @@
1 -Expert Mode
1 +Expertenregeln
Inhalt
... ... @@ -3,597 +3,82 @@
3 3  {{layout-section ac:type="single"}}
4 4  {{layout-cell}}
5 5  \\
6 -{{/layout-cell}}
7 -{{/layout-section}}
8 8  
9 -{{layout-section ac:type="single"}}
10 -{{layout-cell}}
11 -(% class="auto-cursor-target" %)
12 -\\
13 -
14 -{{expand title="Expertensyntax anzeigen"}}
15 -(% class="auto-cursor-target" %)
16 -\\
17 -
7 +{{details}}
18 18  (% class="wrapped" %)
19 19  |=(((
20 -Typ
21 -)))|=(((
22 -Syntax
23 -)))|=(((
24 -Bedeutung
25 -)))
26 -|(% rowspan="2" %)(% rowspan="2" %)
27 -(((
28 -**Konstanten**
10 +Verantwortlicher
29 29  )))|(((
30 -//TRUE// oder //1//
31 -)))|(((
32 -Wahr
33 -)))
34 -|(((
35 -//FALSE// oder //0//
36 -)))|(((
37 -Falsch
38 -)))
39 -|(% colspan="1" %)(% colspan="1" %)
40 -(((
41 -**Variable**
42 -)))|(% colspan="1" %)(% colspan="1" %)
43 -(((
44 -//now//
45 -)))|(% colspan="1" %)(% colspan="1" %)
46 -(((
47 -Momentane Server-Systemzeit
48 -)))
49 -|(% rowspan="37" %)(% rowspan="37" %)
50 -(((
51 -**Funktionen**
52 -)))|(% colspan="1" %)(% colspan="1" %)
53 -(((
54 -//date("//[date]//")//
55 -)))|(% colspan="1" %)(% colspan="1" %)
56 -(((
57 -Datum abfragen
58 -)))
59 -|(% colspan="1" %)(% colspan="1" %)
60 -(((
61 -//inLearningGroup("//[string]//")//
62 -)))|(% colspan="1" %)(% colspan="1" %)
63 -(((
64 -Gibt TRUE für alle Mitglieder der Lerngruppe mit dem Titel [string] des aktuellen Kurses zurück.
65 -)))
66 -|(% colspan="1" %)(% colspan="1" %)
67 -(((
68 -//inLearningGroup("//[string1]//","//[string2]//")//
69 -)))|(% colspan="1" %)(% colspan="1" %)
70 -(((
71 -Gibt TRUE für alle Mitglieder der angegebenen Lerngruppe [string1] des Kurses mit der angegebenen Kurs-ID=[string2] zurück.
72 -)))
73 -|(% colspan="1" %)(% colspan="1" %)
74 -(((
75 -//inLearningGroupWaitingList("//[string]//")//
76 -)))|(% colspan="1" %)(% colspan="1" %)
77 -(((
78 -Gibt TRUE für alle Benutzer in der Warteliste der Lerngruppe [string] des aktuellen Kurses zurück.
79 -)))
80 -|(% colspan="1" %)(% colspan="1" %)
81 -(((
82 -//inLearningGroupWaitingList("//[string1]//","//[string2]//")//
83 -)))|(% colspan="1" %)(% colspan="1" %)
84 -(((
85 -Gibt TRUE für alle Benutzer in der Warteliste der Lerngruppe [string1] des Kurses mit der angegebenen Kurs-ID=[string2] zurück.
86 -)))
87 -|(% colspan="1" %)(% colspan="1" %)
88 -(((
89 -//inRightGroup("//[string]//")//
90 -)))|(% colspan="1" %)(% colspan="1" %)
91 -(((
92 -Gibt TRUE für alle Mitglieder der Rechtegruppe [string] zurück.
93 -)))
94 -|(% colspan="1" %)(% colspan="1" %)
95 -(((
96 -//isLearningGroupFull("//[string]//")//
97 -)))|(% colspan="1" %)(% colspan="1" %)
98 -(((
99 -Gibt für die angegebene Lerngruppe im aktuellen Kurs den Boolean TRUE (=voll) oder FALSE (=nicht voll) zurück.
100 -)))
101 -|(% colspan="1" %)(% colspan="1" %)
102 -(((
103 -//isLearningGroupFull("//[string1]//","//[string2]//")//
104 -)))|(% colspan="1" %)(% colspan="1" %)
105 -(((
106 -Gibt für die angegebene Lerngruppe=[string1] des Kurses mit Kurs-ID=[string2] den Boolean TRUE (=voll) oder FALSE (=nicht voll) zurück.
107 -)))
108 -|(% colspan="1" %)(% colspan="1" %)
109 -(((
110 -//isUser("//[string]//")//
111 -)))|(% colspan="1" %)(% colspan="1" %)
112 -(((
113 -Gibt TRUE für den Benutzer mit dem Benutzernamen [string] zurück.
114 -)))
115 -|(% colspan="1" %)(% colspan="1" %)
116 -(((
117 -//inLearningArea("//[string]//")//
118 -)))|(% colspan="1" %)(% colspan="1" %)
119 -(((
120 -Gibt TRUE für alle Mitglieder der Gruppen im Lernbereich [string] des aktuellen Kurses zurück.
121 -)))
122 -|(% colspan="1" %)(% colspan="1" %)
123 -(((
124 -//inLearningArea("//[string1]//","//[string2]//")//
125 -)))|(% colspan="1" %)(% colspan="1" %)
126 -(((
127 -Gibt TRUE für alle Mitglieder der Gruppen im angegebenen Lernbereich [string1] des Kurses mit der angegebenen Kurs-ID=[string2] zurück.
128 -)))
129 -|(% colspan="1" %)(% colspan="1" %)
130 -(((
131 -//getNumberOfEnrollments("//[string1]*//")//
132 -)))|(% colspan="1" %)(% colspan="1" %)
133 -(((
134 -Gibt TRUE, wenn die konfigurierte Anzahl der Lerngruppenmitgliedschaften im Lernbereich (string1) erreicht ist.
135 -)))
136 -|(% colspan="1" %)(% colspan="1" %)
137 -(((
138 -//isGlobalAuthor(0)//
139 -)))|(% colspan="1" %)(% colspan="1" %)
140 -(((
141 -Gibt TRUE für alle Mitglieder der OPAL-Autorengruppe zurück.
142 -)))
143 -|(% colspan="1" %)(% colspan="1" %)
144 -(((
145 -//isCourseAdministrator(0)//
146 -)))|(% colspan="1" %)(% colspan="1" %)
147 -(((
148 -Gibt TRUE für alle Besitzer Ihres Kurses (Lernressource) zurück.
149 -)))
150 -|(% colspan="1" %)(% colspan="1" %)
151 -(((
152 -//isCourseCoach(0)//
153 -)))|(% colspan="1" %)(% colspan="1" %)
154 -(((
155 -Gibt TRUE für alle Benutzer, die eine Lerngruppe betreuen zurück.
156 -)))
157 -|(% colspan="1" %)(% colspan="1" %)
158 -(((
159 -//isGuest(0)//
160 -)))|(% colspan="1" %)(% colspan="1" %)
161 -(((
162 -Gibt TRUE für alle Benutzer, die OPAL als Gäste besuchen zurück.
163 -)))
164 -|(% colspan="1" %)(% colspan="1" %)
165 -(((
166 -//isExternalUser(0)//
167 -)))|(% colspan="1" %)(% colspan="1" %)
168 -(((
169 -Gibt TRUE für alle, die OPAL als externe Benutzer verwenden zurück.
170 -)))
171 -|(% colspan="1" %)(% colspan="1" %)
172 -(((
173 -//hasAttribute("//[AttrName]//","//[string]//")//
174 -)))|(% colspan="1" %)(% colspan="1" %)
175 -(((
176 -Gibt TRUE, wenn [string] dem Wert des AAI-Attributes [AttrName] des jeweiligen Benutzers entspricht.
177 -)))
178 -|(% colspan="1" %)(% colspan="1" %)
179 -(((
180 -//isInAttribute("//[AttrName]//","//[substring]//")//
181 -)))|(% colspan="1" %)(% colspan="1" %)
182 -(((
183 -Gibt TRUE, wenn [substring] einem Teil des Wertes des AAI-Attributs [AttrName] des jeweiligen Benutzers entspricht.
184 -)))
185 -|(% colspan="1" %)(% colspan="1" %)
186 -(((
187 -//getUserProperty("//[string]//")//
188 -)))|(% colspan="1" %)(% colspan="1" %)
189 -(((
190 -Liefert die angegebene Benutzer-Eigenschaft des ausführenden Nutzers zurück.
191 -)))
192 -|(% colspan="1" %)(% colspan="1" %)
193 -(((
194 -//getPassed("//[integer]//")//
195 -)))|(% colspan="1" %)(% colspan="1" %)
196 -(((
197 -Gibt vom Kursbaustein mit spezifizierter ID den Boolean TRUE (=Bestanden) oder FALSE (=Nicht bestanden) zurück.
198 -)))
199 -|(% colspan="1" %)(% colspan="1" %)
200 -(((
201 -//getScore("//[integer]//")//
202 -)))|(% colspan="1" %)(% colspan="1" %)
203 -(((
204 -Gibt vom Kursbaustein mit spezifizierter ID die Anzahl Punkte zurück.
205 -)))
206 -|(% colspan="1" %)(% colspan="1" %)
207 -(((
208 -//getAttempts("//[integer]//")//
209 -)))|(% colspan="1" %)(% colspan="1" %)
210 -(((
211 -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) angewendet werden.
212 -)))
213 -|(% colspan="1" %)(% colspan="1" %)
214 -(((
215 -//getInitialEnrollmentDate("//[integer]//")//
216 -)))|(% colspan="1" %)(% colspan="1" %)
217 -(((
218 -Gibt vom Kursbaustein //Einschreibung// mit spezifizierter ID das Datum des erstmaligen Einschreibens des betreffenden Kursteilnehmers zurück.
219 -)))
220 -|(% colspan="1" %)(% colspan="1" %)
221 -(((
222 -//getRecentEnrollmentDate("//[integer]//")//
223 -)))|(% colspan="1" %)(% colspan="1" %)
224 -(((
225 -Gibt vom Kursbaustein //Einschreibung// mit spezifizierter ID das Datum des letzten Einschreibens des betreffenden Kursteilnehmers zurück.
226 -)))
227 -|(% colspan="1" %)(% colspan="1" %)
228 -(((
229 -//getInitialCourseLaunchDate(0)//
230 -)))|(% colspan="1" %)(% colspan="1" %)
231 -(((
232 -Gibt das Datum des erstmaligen Kursbesuchs des betreffenden Kursteilnehmers zurück.
233 -)))
234 -|(% colspan="1" %)(% colspan="1" %)
235 -(((
236 -//getRecentCourseLaunchDate(0)//
237 -)))|(% colspan="1" %)(% colspan="1" %)
238 -(((
239 -Gibt das Datum des letzten Kursbesuchs des betreffenden Kursteilnehmers zurück.
240 -)))
241 -|(% colspan="1" %)(% colspan="1" %)
242 -(((
243 -//getPassedWithCourseId("//[integer-1]//","//[integer-2]//")//
244 -)))|(% colspan="1" %)(% colspan="1" %)
245 -(((
246 -Gibt vom Kursbaustein mit ID=[integer-2] des Kurses mit ID=[integer-1] den Boolean TRUE (=Bestanden) oder FALSE (=Nicht bestanden) zurück.
247 -)))
248 -|(% colspan="1" %)(% colspan="1" %)
249 -(((
250 -//getScoreWithCourseId("//[integer-1]//","//[integer-2]//")//
251 -)))|(% colspan="1" %)(% colspan="1" %)
252 -(((
253 -Gibt vom Kursbaustein mit ID=[integer-2] des Kurses mit ID=[integer-1] die Anzahl Punkte zurück.
254 -)))
255 -|(% colspan="1" %)(% colspan="1" %)
256 -(((
257 -//getMarkWithCourseId("//[integer-1]//","//[integer-2]//")//
258 -)))|(% colspan="1" %)(% colspan="1" %)
259 -(((
260 -Gibt vom Kursbaustein mit ID=[integer-2] des Kurses mit ID=[integer-1] die Note zurück.
261 -)))
262 -|(% colspan="1" %)(% colspan="1" %)
263 -(((
264 -//hasEvaluationCompleted("//KB-ID//")//
265 -)))|(% colspan="1" %)(% colspan="1" %)
266 -(((
267 -Gibt TRUE für alle Benutzer die den angegebenen Kursbaustein erfolgreich beendeten.
268 -)))
269 -|(% colspan="1" %)(% colspan="1" %)
270 -(((
271 -//getNumberOfEnrollments("//[string1]*//")//
272 -)))|(% colspan="1" %)(% colspan="1" %)
273 -(((
274 -Gibt TRUE, wenn die konfigurierte Anzahl der Lerngruppenmitgliedschaften im Lernbereich (string1) erreicht ist.
275 -)))
276 -|(% colspan="1" %)(% colspan="1" %)
277 -(((
278 -//getOnyxTestOutcome("//[string1]//","//[string2]//")//
279 -)))|(% colspan="1" %)(% colspan="1" %)
280 -(((
281 -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.
282 -)))
283 -|(% colspan="1" %)(% colspan="1" %)
284 -(((
285 -//getOnyxTestOutcomeZK("//[string1]//","//[string2]//")//
286 -)))|(% colspan="1" %)(% colspan="1" %)
287 -(((
288 -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.
289 -)))
290 -|(% colspan="1" %)(% colspan="1" %)
291 -(((
292 -//getProgress(//"[integer]"//)//
293 -)))|(% colspan="1" %)(% colspan="1" %)
294 -(((
295 -Gibt vom Kursbaustein mit spezifizierter ID den Fortschritt als numerischen Wert zwischen 0 und 100 (Prozent) zurück.
296 -)))
297 -|(% colspan="1" %)(% colspan="1" %)
298 -(((
299 -//isPasswordConfirmed("//[string]")
300 -)))|(% colspan="1" %)(% colspan="1" %)
301 -(((
302 -Gibt TRUE nach Eingabe des korrekten Passwortes (string1) zurück.
303 -
304 -Kann nur bei Kursbausteinen verwendet werden, die auch im einfachen Modus eine Passwortbeschränkung anbieten.
305 -)))
306 -|(% colspan="1" %)(% colspan="1" %)
307 -(((
308 -//comesFrom("//[string]//")//
309 -)))|(% colspan="1" %)(% colspan="1" %)
310 -(((
311 -Gibt TRUE zurück wenn der Nutzer ein verlinktes Konto zum OLAT mit der angegebenen System-ID hat.
312 -)))
313 -|(% rowspan="4" %)(% rowspan="4" %)
314 -(((
315 -**Einheiten**
316 -)))|(% colspan="1" %)(% colspan="1" %)
317 -(((
318 -//min//
319 -)))|(% colspan="1" %)(% colspan="1" %)
320 -(((
321 -Minuten
322 -)))
323 -|(% colspan="1" %)(% colspan="1" %)
324 -(((
325 -//h//
326 -)))|(% colspan="1" %)(% colspan="1" %)
327 -(((
328 -//h//
329 -)))
330 -|(% colspan="1" %)(% colspan="1" %)
331 -(((
332 -//w//
333 -)))|(% colspan="1" %)(% colspan="1" %)
334 -(((
335 -Wochen
336 -)))
337 -|(% colspan="1" %)(% colspan="1" %)
338 -(((
339 -//m//
340 -)))|(% colspan="1" %)(% colspan="1" %)
341 -(((
342 -Monate
343 -)))
344 -|(% rowspan="9" %)(% rowspan="9" %)
345 -(((
346 -**Operatoren**
347 -)))|(% colspan="1" %)(% colspan="1" %)
348 -(((
349 -~=
350 -)))|(% colspan="1" %)(% colspan="1" %)
351 -(((
352 -gleich
353 -)))
354 -|(% colspan="1" %)(% colspan="1" %)
355 -(((
356 -~>
357 -)))|(% colspan="1" %)(% colspan="1" %)
358 -(((
359 -grösser als
360 -)))
361 -|(% colspan="1" %)(% colspan="1" %)
362 -(((
363 -<
364 -)))|(% colspan="1" %)(% colspan="1" %)
365 -(((
366 -kleiner als
367 -)))
368 -|(% colspan="1" %)(% colspan="1" %)
369 -(((
370 -~>=
371 -)))|(% colspan="1" %)(% colspan="1" %)
372 -(((
373 -grösser gleich
374 -)))
375 -|(% colspan="1" %)(% colspan="1" %)
376 -(((
377 -<=
378 -)))|(% colspan="1" %)(% colspan="1" %)
379 -(((
380 -kleiner gleich
381 -)))
382 -|(% colspan="1" %)(% colspan="1" %)
383 -(((
384 -*
385 -)))|(% colspan="1" %)(% colspan="1" %)
386 -(((
387 -Multiplikation
388 -)))
389 -|(% colspan="1" %)(% colspan="1" %)
390 -(((
391 -/
392 -)))|(% colspan="1" %)(% colspan="1" %)
393 -(((
394 -Division
395 -)))
396 -|(% colspan="1" %)(% colspan="1" %)
397 -(((
398 -+
399 -)))|(% colspan="1" %)(% colspan="1" %)
400 -(((
401 -Addition
402 -)))
403 -|(% colspan="1" %)(% colspan="1" %)
404 -(((
405 --
406 -)))|(% colspan="1" %)(% colspan="1" %)
407 -(((
408 -Subtraktion
409 -)))
410 -|(% colspan="1" %)(% colspan="1" %)
411 -(((
412 -**Booleans**
413 -)))|(% colspan="1" %)(% colspan="1" %)
414 -(((
415 -&
416 -)))|(% colspan="1" %)(% colspan="1" %)
417 -(((
418 -Logisches UND
419 -)))
420 -|(% colspan="1" %)(% colspan="1" %)
421 -(((
422 422  \\
423 -)))|(% colspan="1" %)(% colspan="1" %)
424 -(((
425 -~|
426 -)))|(% colspan="1" %)(% colspan="1" %)
427 -(((
428 -Logisches ODER
429 429  )))
430 -|(% colspan="1" %)(% colspan="1" %)
14 +|=(% colspan="1" %)(% colspan="1" %)
431 431  (((
432 -\\
433 -)))|(% colspan="1" %)(% colspan="1" %)
16 +Status
17 +)))|(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %)(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %)
434 434  (((
435 -!
436 -)))|(% colspan="1" %)(% colspan="1" %)
19 +(% class="content-wrapper" %)
437 437  (((
438 -Logisches NICHT
439 -)))
21 +{{sv-metadata type="workflow-status"/}}
440 440  
441 -(% class="auto-cursor-target" %)
442 -\\
443 -{{/expand}}
444 -
445 -(% class="auto-cursor-target" %)
446 -\\
447 -
448 -{{expand title="Anwendungsbeispiele zum Expertensyntax"}}
449 -**Verwendungsbeispiele**
450 -
451 -Nachfolgend sind Beispiele aufgeführt, die Ihnen zeigen, wie Sie den Expertensyntax verwenden können.
452 -
453 -{{info}}
454 -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 ((% class="confluence-link" %)DFN-AAI Attribute(%%)).
455 -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.
456 -{{/info}}
457 -
458 -(% class="auto-cursor-target" %)
459 -\\
460 -
461 -(% class="wrapped" %)
462 -|=(((
463 -Beispiele für Regeln in den Tabs //«Sichtbarkeit»//, //«Zugang»// und //«Punkte»// (Struktur-Baustein)
464 -)))|=(((
465 -Auswirkungen
23 +{{status colour="Green" title="Fertig"/}}
466 466  )))
467 -|(((
468 -isGuest(0) oder isGuest(0)=1 oder isGuest(0)=true
469 -)))|(((
470 -Ausschließlich Gäste haben Zugang auf den Kursbaustein.
471 471  )))
472 -|(((
473 -inLearningGroup("Anfänger") = 0
474 -)))|(((
475 -Mit Ausnahme der Gruppe //«Anfänger»// ist der Kursbaustein für alle Kursteilnehmer sichtbar.
476 -)))
477 -|(((
478 -(now >= date("22.03.2017 12:00")) & (now <= date("23.08.2017 18:00")) | inLearningGroup("Betreuer")
479 -)))|(((
480 -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.
481 -)))
482 -|(((
483 -(now >= date("03.09.2017 00:00")) & (now <= date("13.10.2017 00:00")) & inRightGroup("Assessoren")| isUser("autor")
484 -)))|(((
485 -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.
486 -)))
487 -|(((
488 -isInAttribute("surname","Mue")
489 -)))|(((
490 -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.
491 -)))
492 -|(% colspan="1" %)(% colspan="1" %)
26 +|=(% colspan="1" %)(% colspan="1" %)
493 493  (((
494 -(getUserProperty("orgUnit") = "Marketing")
28 +Varianten
495 495  )))|(% colspan="1" %)(% colspan="1" %)
496 496  (((
497 -Prüft ob eine Person in der Organisationseinheit "Marketing" ist. Dies ist sinnvoll z.B. wenn die Daten automatisiert aus LDAP übernommen werden.
498 -)))
499 -|(% colspan="1" %)(% colspan="1" %)
31 +(% class="content-wrapper" %)
500 500  (((
501 -(getPassed("69742969114730") | getPassed("69742969115733") | getPassed("69742969118009")) * 10
502 -)))|(% colspan="1" %)(% colspan="1" %)
503 -(((
504 -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.
33 +{{sv-metadata type="variants"/}}
505 505  )))
506 -|(% colspan="1" %)(% colspan="1" %)
507 -(((
508 -(getScore("69742969114730") + getScore("69742969115733") + getScore("69742969118009")) >= 140 | getPassed("69978845384688")
509 -)))|(% colspan="1" %)(% colspan="1" %)
510 -(((
511 -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").
512 512  )))
513 -|(% colspan="1" %)(% colspan="1" %)
36 +|=(% colspan="1" %)(% colspan="1" %)
514 514  (((
515 -getAttempts("70323786958847") > 0
38 +Attribute
516 516  )))|(% colspan="1" %)(% colspan="1" %)
517 517  (((
518 -Gibt TRUE zurück, sobald der betreffende Kursteilnehmer den Test mit spezifizierter ID ein erstes Mal abgeschlossen hat.
519 -)))
520 -|(% colspan="1" %)(% colspan="1" %)
41 +(% class="content-wrapper" %)
521 521  (((
522 -getAttempts("70323524635734") <= 3
523 -)))|(% colspan="1" %)(% colspan="1" %)
524 -(((
525 -Gibt FALSE zurück, sobald der betreffende Kursteilnehmer mehr als 3 Dateien in den Abgabeordner des Kursbaustein //Aufgabe// gelegt hat.
43 +{{sv-metadata type="attributes"/}}
526 526  )))
527 -|(% colspan="1" %)(% colspan="1" %)
528 -(((
529 -getInitialEnrollmentDate("70323786958847") <= date("26.5.2017 18:00")
530 -)))|(% colspan="1" %)(% colspan="1" %)
531 -(((
532 -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.
533 533  )))
534 -|(% colspan="1" %)(% colspan="1" %)
46 +|=(% colspan="1" %)(% colspan="1" %)
535 535  (((
536 -getInitialEnrollmentDate("70323786958847") + 2h > now
48 +Pagekey
537 537  )))|(% colspan="1" %)(% colspan="1" %)
538 538  (((
539 -Gibt TRUE während zwei Stunden ab Einschreibezeitpunkt für diejenigen Kursteilnehmer, 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.
540 -)))
541 -|(% colspan="1" %)(% colspan="1" %)
51 +(% class="content-wrapper" %)
542 542  (((
543 -(getInitialCourseLaunchDate(0) >= never) | (getInitialCourseLaunchDate(0) + 2h > now)
544 -)))|(% colspan="1" %)(% colspan="1" %)
545 -(((
546 -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.
53 +{{sv-metadata type="pagekey"/}}
547 547  )))
548 -|(% colspan="1" %)(% colspan="1" %)
549 -(((
550 -(getRecentCourseLaunchDate(0) + 10min) > now
551 -)))|(% colspan="1" %)(% colspan="1" %)
552 -(((
553 -Gibt TRUE zurück, wenn sich der Benutzer seit mehr als 10 Minuten im Kurs bewegt.
554 554  )))
555 -|(% colspan="1" %)(% colspan="1" %)
56 +|=(% colspan="1" %)(% colspan="1" %)
556 556  (((
557 -getOnyxTestOutcome("84692289655276","SCORE") >= 10
58 +Übersetzung
558 558  )))|(% colspan="1" %)(% colspan="1" %)
559 559  (((
560 -Gibt TRUE zurück, wenn der Benutzer mindestens 10 Punkte erreicht hat.
561 -)))
562 -|(% colspan="1" %)(% colspan="1" %)
61 +(% class="content-wrapper" %)
563 563  (((
564 -getOnyxTestOutcomeZK("84389429397045","PASS") ="true"
565 -)))|(% colspan="1" %)(% colspan="1" %)
566 -(((
567 -Gibt TRUE zurück, wenn der Benutzer den Test bestanden hat.
63 +{{status colour="Green" title="Fertig"/}}
568 568  )))
569 -|(% colspan="1" %)(% colspan="1" %)
570 -(((
571 -getMark("84692289655276") > 4
572 -)))|(% colspan="1" %)(% colspan="1" %)
573 -(((
574 -Gibt TRUE zurück, wenn die Note des Nutzers für den angegebenen Baustein besser als 4 ist.
575 575  )))
576 -|(% colspan="1" %)(% colspan="1" %)
66 +|=(% colspan="1" %)(% colspan="1" %)
577 577  (((
578 -getProgress("69742969114730")>=100
68 +TODOs
579 579  )))|(% colspan="1" %)(% colspan="1" %)
580 580  (((
581 -Gibt TRUE zurück, wenn der Nutzer den angegebenen Kursbaustein erledigt hat (Kursfortschritt).
71 +carina: De und En Inhalte aus Seite Freigabe von Kursen und Kursbausteinen übernommen
582 582  )))
73 +{{/details}}
74 +{{/layout-cell}}
75 +{{/layout-section}}
583 583  
584 -(% class="auto-cursor-target" %)
585 -\\
77 +{{layout-section ac:type="single"}}
78 +{{layout-cell}}
586 586  
587 -{{note title="Achtung!"}}
588 -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.
589 -{{/note}}
590 590  
591 -(% class="auto-cursor-target" %)
592 -\\
593 -{{/expand}}
594 -
595 -(% class="auto-cursor-target" %)
596 -\\
81 +{{children/}}
597 597  {{/layout-cell}}
598 598  {{/layout-section}}
599 599  {{/layout}}
... ... @@ -600,815 +600,7 @@
600 600  {{/sv-translation}}
601 601  
602 602  {{sv-translation language="en"}}
603 -{{expand title="Display expert syntax"}}
604 -=== Expert syntax ===
605 605  
606 -(% class="wrapped" %)
607 -|=(((
608 -Type
609 -)))|=(((
610 -Syntax
611 -)))|=(((
612 -Description
613 -)))
614 -|(((
615 -(% class="TableParagraph" %)
616 -**Constants**
617 -)))|(((
618 -(% class="TableParagraph" %)
619 -//TRUE //or //1//
620 -)))|(((
621 -(% class="TableParagraph" %)
622 -True
623 -)))
624 -|(((
625 -\\
626 -)))|(((
627 -(% class="TableParagraph" %)
628 -//FALSE //or //0//
629 -)))|(((
630 -(% class="TableParagraph" %)
631 -False
632 -)))
633 -|(((
634 -(% class="TableParagraph" %)
635 -**Variable**
636 -)))|(((
637 -(% class="TableParagraph" %)
638 -//now//
639 -)))|(((
640 -(% class="TableParagraph" %)
641 -Current server system time
642 -)))
643 -|(((
644 -(% class="TableParagraph" %)
645 -**Functions**
646 -)))|(((
647 -(% class="TableParagraph" %)
648 -//date("[date]")//
649 -)))|(((
650 -(% class="TableParagraph" %)
651 -Query date
652 -)))
653 -|(% colspan="1" %)(% colspan="1" %)
654 -(((
655 -\\
656 -)))|(% colspan="1" %)(% colspan="1" %)
657 -(((
658 -(% class="TableParagraph" %)
659 -//inLearningGroup("//[string]//")//
660 -)))|(% colspan="1" %)(% colspan="1" %)
661 -(((
662 -(% class="TableParagraph" %)
663 -Returns TRUE for all members of the learning group with the title [string] of the current course.
664 -)))
665 -|(% colspan="1" %)(% colspan="1" %)
666 -(((
667 -\\
668 -)))|(% colspan="1" %)(% colspan="1" %)
669 -(((
670 -(% class="TableParagraph" %)
671 -//inLearningGroup("//[string1]//","//[string2]//")//
672 -)))|(% colspan="1" %)(% colspan="1" %)
673 -(((
674 -(% class="TableParagraph" %)
675 -Returns TRUE for all members of the specified learning group [string1] of the course with the specified course ID=[string2].
676 -)))
677 -|(% colspan="1" %)(% colspan="1" %)
678 -(((
679 -\\
680 -)))|(% colspan="1" %)(% colspan="1" %)
681 -(((
682 -(% class="TableParagraph" %)
683 -//inLearningGroupWaitingList("//[string]//")//
684 -)))|(% colspan="1" %)(% colspan="1" %)
685 -(((
686 -(% class="TableParagraph" %)
687 -Returns TRUE for all users on the waiting list of the learning group [string] of the current course.
688 -)))
689 -|(% colspan="1" %)(% colspan="1" %)
690 -(((
691 -\\
692 -)))|(% colspan="1" %)(% colspan="1" %)
693 -(((
694 -(% class="TableParagraph" %)
695 -//inLearningGroupWaitingList("//[string1]//","//[string2]//"// //)//
696 -)))|(% colspan="1" %)(% colspan="1" %)
697 -(((
698 -(% class="TableParagraph" %)
699 -Returns TRUE for all users on the waiting list of the learning group [string1] of the course with the specified course ID=[string2].
700 -)))
701 -|(% colspan="1" %)(% colspan="1" %)
702 -(((
703 -\\
704 -)))|(% colspan="1" %)(% colspan="1" %)
705 -(((
706 -(% class="TableParagraph" %)
707 -//inRightGroup("//[string]//")//
708 -)))|(% colspan="1" %)(% colspan="1" %)
709 -(((
710 -(% class="TableParagraph" %)
711 -Returns TRUE for all members of the right group [string].
712 -)))
713 -|(% colspan="1" %)(% colspan="1" %)
714 -(((
715 -\\
716 -)))|(% colspan="1" %)(% colspan="1" %)
717 -(((
718 -(% class="TableParagraph" %)
719 -//isLearningGroupFull("//[string]//")//
720 -)))|(% colspan="1" %)(% colspan="1" %)
721 -(((
722 -(% class="TableParagraph" %)
723 -Returns the Boolean TRUE (=full) or FALSE (=not full) for the specified learning group in the current course.
724 -)))
725 -|(% colspan="1" %)(% colspan="1" %)
726 -(((
727 -\\
728 -)))|(% colspan="1" %)(% colspan="1" %)
729 -(((
730 -(% class="TableParagraph" %)
731 -//isLearningGroupFull("//[string1]//","//[string2]//")//
732 -)))|(% colspan="1" %)(% colspan="1" %)
733 -(((
734 -(% class="TableParagraph" %)
735 -Returns the Boolean TRUE (=full) or FALSE (=not full) for the specified learning group=[string1] of the course with the course ID=[string2].
736 -)))
737 -|(% colspan="1" %)(% colspan="1" %)
738 -(((
739 -\\
740 -)))|(% colspan="1" %)(% colspan="1" %)
741 -(((
742 -(% class="TableParagraph" %)
743 -//isUser("//[string]//")//
744 -)))|(% colspan="1" %)(% colspan="1" %)
745 -(((
746 -(% class="TableParagraph" %)
747 -Returns TRUE for the user with the user name [string].
748 -)))
749 -|(% colspan="1" %)(% colspan="1" %)
750 -(((
751 -\\
752 -)))|(% colspan="1" %)(% colspan="1" %)
753 -(((
754 -(% class="TableParagraph" %)
755 -//inLearningArea("//[string]//")//
756 -)))|(% colspan="1" %)(% colspan="1" %)
757 -(((
758 -(% class="TableParagraph" %)
759 -Returns TRUE for all members of the groups in the learning area [string] of the current course.
760 -)))
761 -|(% colspan="1" %)(% colspan="1" %)
762 -(((
763 -\\
764 -)))|(% colspan="1" %)(% colspan="1" %)
765 -(((
766 -(% class="TableParagraph" %)
767 -//inLearningArea("//[string1]//","//[string2]//")//
768 -)))|(% colspan="1" %)(% colspan="1" %)
769 -(((
770 -(% class="TableParagraph" %)
771 -Returns TRUE for all members of the groups in the specified learning area [string1] of the course with the specified course ID=[string2].
772 -)))
773 -|(% colspan="1" %)(% colspan="1" %)
774 -(((
775 -\\
776 -)))|(% colspan="1" %)(% colspan="1" %)
777 -(((
778 -(% class="TableParagraph" %)
779 -//getNumberOfEnrollments("//[string1]*//")//
780 -)))|(% colspan="1" %)(% colspan="1" %)
781 -(((
782 -(% class="TableParagraph" %)
783 -Returns TRUE, when the configured number of learning group members is reached in the learning area (string1).
784 -)))
785 -|(% colspan="1" %)(% colspan="1" %)
786 -(((
787 -\\
788 -)))|(% colspan="1" %)(% colspan="1" %)
789 -(((
790 -(% class="TableParagraph" %)
791 -//isGlobalAuthor(0)//
792 -)))|(% colspan="1" %)(% colspan="1" %)
793 -(((
794 -(% class="TableParagraph" %)
795 -Returns TRUE for all members of the OPAL author group.
796 -)))
797 -|(% colspan="1" %)(% colspan="1" %)
798 -(((
799 -\\
800 -)))|(% colspan="1" %)(% colspan="1" %)
801 -(((
802 -(% class="TableParagraph" %)
803 -//isCourseAdministrator(0)//
804 -)))|(% colspan="1" %)(% colspan="1" %)
805 -(((
806 -(% class="TableParagraph" %)
807 -Returns TRUE for all owners of your course (learning resource).
808 -)))
809 -|(% colspan="1" %)(% colspan="1" %)
810 -(((
811 -\\
812 -)))|(% colspan="1" %)(% colspan="1" %)
813 -(((
814 -(% class="TableParagraph" %)
815 -//isCourseCoach(0)//
816 -)))|(% colspan="1" %)(% colspan="1" %)
817 -(((
818 -(% class="TableParagraph" %)
819 -Returns TRUE for all users who supervise a learning group.
820 -)))
821 -|(% colspan="1" %)(% colspan="1" %)
822 -(((
823 -\\
824 -)))|(% colspan="1" %)(% colspan="1" %)
825 -(((
826 -(% class="TableParagraph" %)
827 -//isGuest(0)//
828 -)))|(% colspan="1" %)(% colspan="1" %)
829 -(((
830 -(% class="TableParagraph" %)
831 -Returns TRUE for all users who visit OPAL as guests.
832 -)))
833 -|(% colspan="1" %)(% colspan="1" %)
834 -(((
835 -\\
836 -)))|(% colspan="1" %)(% colspan="1" %)
837 -(((
838 -(% class="TableParagraph" %)
839 -//isExternalUser(0)//
840 -)))|(% colspan="1" %)(% colspan="1" %)
841 -(((
842 -(% class="TableParagraph" %)
843 -Returns TRUE for everyone who uses OPAL as an external user.
844 -)))
845 -|(% colspan="1" %)(% colspan="1" %)
846 -(((
847 -\\
848 -)))|(% colspan="1" %)(% colspan="1" %)
849 -(((
850 -(% class="TableParagraph" %)
851 -//hasAttribute("//[AttrName]//","//[string]//")//
852 -)))|(% colspan="1" %)(% colspan="1" %)
853 -(((
854 -(% class="TableParagraph" %)
855 -Returns TRUE if [string] matches the value of the AAI attribute [AttrName] of the respective user.
856 -)))
857 -|(% colspan="1" %)(% colspan="1" %)
858 -(((
859 -\\
860 -)))|(% colspan="1" %)(% colspan="1" %)
861 -(((
862 -(% class="TableParagraph" %)
863 -//isInAttribute("//[AttrName]//","//[substring]//")//
864 -)))|(% colspan="1" %)(% colspan="1" %)
865 -(((
866 -(% class="TableParagraph" %)
867 -Returns TRUE if [substring] matches a portion of the value of the AAI attribute [AttrName] of the respective user.
868 -)))
869 -|(% colspan="1" %)(% colspan="1" %)
870 -(((
871 -\\
872 -)))|(% colspan="1" %)(% colspan="1" %)
873 -(((
874 -(% class="TableParagraph" %)
875 -//getUserProperty("//[string]//")//
876 -)))|(% colspan="1" %)(% colspan="1" %)
877 -(((
878 -(% class="TableParagraph" %)
879 -Returns the specified user property of the executing user.
880 -)))
881 -|(% colspan="1" %)(% colspan="1" %)
882 -(((
883 -\\
884 -)))|(% colspan="1" %)(% colspan="1" %)
885 -(((
886 -(% class="TableParagraph" %)
887 -//getPassed("//[integer]//")//
888 -)))|(% colspan="1" %)(% colspan="1" %)
889 -(((
890 -(% class="TableParagraph" %)
891 -Returns the Boolean TRUE (=passed) or FALSE (=not passed) from the course element with the specified ID.
892 -)))
893 -|(% colspan="1" %)(% colspan="1" %)
894 -(((
895 -\\
896 -)))|(% colspan="1" %)(% colspan="1" %)
897 -(((
898 -(% class="TableParagraph" %)
899 -//getScore("//[integer]//")//
900 -)))|(% colspan="1" %)(% colspan="1" %)
901 -(((
902 -(% class="TableParagraph" %)
903 -Returns the number of points from the course element with the specified ID.
904 -)))
905 -|(% colspan="1" %)(% colspan="1" %)
906 -(((
907 -\\
908 -)))|(% colspan="1" %)(% colspan="1" %)
909 -(((
910 -(% class="TableParagraph" %)
911 -//getAttempts("//[integer]//")//
912 -)))|(% colspan="1" %)(% colspan="1" %)
913 -(((
914 -(% class="TableParagraph" %)
915 -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).
916 -)))
917 -|(% colspan="1" %)(% colspan="1" %)
918 -(((
919 -\\
920 -)))|(% colspan="1" %)(% colspan="1" %)
921 -(((
922 -(% class="TableParagraph" %)
923 -//getInitialEnrollmentDate("//[integer]//")//
924 -)))|(% colspan="1" %)(% colspan="1" %)
925 -(((
926 -(% class="TableParagraph" %)
927 -Returns the date of the respective course participant's first-time enrolment from the course element //Enrolment// with the specified ID.
928 -)))
929 -|(% colspan="1" %)(% colspan="1" %)
930 -(((
931 -\\
932 -)))|(% colspan="1" %)(% colspan="1" %)
933 -(((
934 -(% class="TableParagraph" %)
935 -//getRecentEnrollmentDate("//[integer]//")//
936 -)))|(% colspan="1" %)(% colspan="1" %)
937 -(((
938 -(% class="TableParagraph" %)
939 -Returns the date of the respective course participant's last enrolment from the course element //Enrolment// with the specified ID.
940 -)))
941 -|(((
942 -\\
943 -)))|(((
944 -(% class="TableParagraph" %)
945 -//getInitialCourseLaunchDate(0)//
946 -)))|(((
947 -(% class="TableParagraph" %)
948 -Returns the date of the first course visit of the respective course participant.
949 -)))
950 -|(((
951 -\\
952 -)))|(((
953 -(% class="TableParagraph" %)
954 -//getRecentCourseLaunchDate(0)//
955 -)))|(((
956 -(% class="TableParagraph" %)
957 -Returns the date of the last course visit of the respective course participant.
958 -)))
959 -|(% colspan="1" %)(% colspan="1" %)
960 -(((
961 -\\
962 -)))|(% colspan="1" %)(% colspan="1" %)
963 -(((
964 -(% class="TableParagraph" %)
965 -//getRecentCourseLaunchDate(0)//
966 -)))|(% colspan="1" %)(% colspan="1" %)
967 -(((
968 -(% class="TableParagraph" %)
969 -Returns the date of the last course visit of the respective course participant.
970 -)))
971 -|(% colspan="1" %)(% colspan="1" %)
972 -(((
973 -\\
974 -)))|(% colspan="1" %)(% colspan="1" %)
975 -(((
976 -(% class="TableParagraph" %)
977 -//getPassedWithCourseId("//[integer-1]//","//[integer- 2]//")//
978 -)))|(% colspan="1" %)(% colspan="1" %)
979 -(((
980 -(% class="TableParagraph" %)
981 -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].
982 -)))
983 -|(% colspan="1" %)(% colspan="1" %)
984 -(((
985 -\\
986 -)))|(% colspan="1" %)(% colspan="1" %)
987 -(((
988 -(% class="TableParagraph" %)
989 -//getScoreWithCourseId("//[integer-1]//","//[integer-2]//")//
990 -)))|(% colspan="1" %)(% colspan="1" %)
991 -(((
992 -(% class="TableParagraph" %)
993 -Returns the number of points from the course element with the ID=[integer-2] of the course with the ID=[integer-1].
994 -)))
995 -|(% colspan="1" %)(% colspan="1" %)
996 -(((
997 -\\
998 -)))|(% colspan="1" %)(% colspan="1" %)
999 -(((
1000 -//getMarkWithCourseId(" //[integer-1]//","//[integer-2]//")//
1001 -)))|(% colspan="1" %)(% colspan="1" %)
1002 -(((
1003 -Returns the grade from the course element with the with the ID=[integer-1].
1004 -)))
1005 -|(((
1006 -\\
1007 -)))|(((
1008 -(% class="TableParagraph" %)
1009 -//hasEvaluationCompleted("//KB-ID//")//
1010 -)))|(((
1011 -(% class="TableParagraph" %)
1012 -Returns TRUE for all users who have successfully completed the specified course element.
1013 -)))
1014 -|(((
1015 -\\
1016 -)))|(((
1017 -(% class="TableParagraph" %)
1018 -//getNumberOfEnrollments("//[string1]*//")//
1019 -)))|(((
1020 -(% class="TableParagraph" %)
1021 -Returns TRUE, when the configured number of learning group members is reached in the learning area (string1).
1022 -)))
1023 -|(((
1024 -\\
1025 -)))|(((
1026 -(% class="TableParagraph" %)
1027 -//getOnyxTestOutcome("//[string1]//","//[string2]//")//
1028 -)))|(((
1029 -(% class="TableParagraph" %)
1030 -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.
1031 -)))
1032 -|(% colspan="1" %)(% colspan="1" %)
1033 -(((
1034 -\\
1035 -)))|(% colspan="1" %)(% colspan="1" %)
1036 -(((
1037 -(% class="TableParagraph" %)
1038 -//getOnyxTestOutcomeZK("//[string1]//","//[string2]//")//
1039 -)))|(% colspan="1" %)(% colspan="1" %)
1040 -(((
1041 -(% class="TableParagraph" %)
1042 -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.
1043 -)))
1044 -|(% colspan="1" %)(% colspan="1" %)
1045 -(((
1046 -\\
1047 -)))|(% colspan="1" %)(% colspan="1" %)
1048 -(((
1049 -(% class="TableParagraph" %)
1050 -//getProgress(//"[integer]"//)//
1051 -)))|(% colspan="1" %)(% colspan="1" %)
1052 -(((
1053 -(% class="TableParagraph" %)
1054 -Returns the progress from the course element with the specified ID as a numerical value between 0 and 100 (percent).
1055 -)))
1056 -|(% colspan="1" %)(% colspan="1" %)
1057 -(((
1058 -\\
1059 -)))|(% colspan="1" %)(% colspan="1" %)
1060 -(((
1061 -(% class="TableParagraph" %)
1062 -//isPasswordConfirmed("//[string]")
1063 -)))|(% colspan="1" %)(% colspan="1" %)
1064 -(((
1065 -(% class="TableParagraph" %)
1066 -Returns TRUE after entering the correct password (string1).
1067 1067  
1068 -(% class="TableParagraph" %)
1069 -Can only be used with course elements which offer a password restriction even in simple mode.
1070 -)))
1071 -|(% colspan="1" %)(% colspan="1" %)
1072 -(((
1073 -\\
1074 -)))|(% colspan="1" %)(% colspan="1" %)
1075 -(((
1076 -(% class="TableParagraph" %)
1077 -//comesFrom("//[string]//")//
1078 -)))|(% colspan="1" %)(% colspan="1" %)
1079 -(((
1080 -(% class="TableParagraph" %)
1081 -Returns TRUE if the user has a linked account to OLAT with the specified system ID.
1082 -)))
1083 -|(% colspan="1" %)(% colspan="1" %)
1084 -(((
1085 -(% class="TableParagraph" %)
1086 -**Units**
1087 -)))|(% colspan="1" %)(% colspan="1" %)
1088 -(((
1089 -(% class="TableParagraph" %)
1090 -//min//
1091 -)))|(% colspan="1" %)(% colspan="1" %)
1092 -(((
1093 -(% class="TableParagraph" %)
1094 -Minutes
1095 -)))
1096 -|(% colspan="1" %)(% colspan="1" %)
1097 -(((
1098 -\\
1099 -)))|(% colspan="1" %)(% colspan="1" %)
1100 -(((
1101 -(% class="TableParagraph" %)
1102 -//h//
1103 -)))|(% colspan="1" %)(% colspan="1" %)
1104 -(((
1105 -(% class="TableParagraph" %)
1106 -//h//
1107 -)))
1108 -|(% colspan="1" %)(% colspan="1" %)
1109 -(((
1110 -\\
1111 -)))|(% colspan="1" %)(% colspan="1" %)
1112 -(((
1113 -(% class="TableParagraph" %)
1114 -//w//
1115 -)))|(% colspan="1" %)(% colspan="1" %)
1116 -(((
1117 -(% class="TableParagraph" %)
1118 -Weeks
1119 -)))
1120 -|(% colspan="1" %)(% colspan="1" %)
1121 -(((
1122 -\\
1123 -)))|(% colspan="1" %)(% colspan="1" %)
1124 -(((
1125 -(% class="TableParagraph" %)
1126 -//m//
1127 -)))|(% colspan="1" %)(% colspan="1" %)
1128 -(((
1129 -(% class="TableParagraph" %)
1130 -Months
1131 -)))
1132 -|(% colspan="1" %)(% colspan="1" %)
1133 -(((
1134 -(% class="TableParagraph" %)
1135 -**Operators**
1136 -)))|(% colspan="1" %)(% colspan="1" %)
1137 -(((
1138 -(% class="TableParagraph" %)
1139 -~=
1140 -)))|(% colspan="1" %)(% colspan="1" %)
1141 -(((
1142 -(% class="TableParagraph" %)
1143 -equal to
1144 -)))
1145 -|(((
1146 -\\
1147 -)))|(((
1148 -(% class="TableParagraph" %)
1149 -~>
1150 -)))|(((
1151 -(% class="TableParagraph" %)
1152 -greater than
1153 -)))
1154 -|(((
1155 -\\
1156 -)))|(((
1157 -(% class="TableParagraph" %)
1158 -<
1159 -)))|(((
1160 -(% class="TableParagraph" %)
1161 -less than
1162 -)))
1163 -|(((
1164 -\\
1165 -)))|(((
1166 -(% class="TableParagraph" %)
1167 -~>=
1168 -)))|(((
1169 -(% class="TableParagraph" %)
1170 -greater than or equal to
1171 -)))
1172 -|(((
1173 -\\
1174 -)))|(((
1175 -(% class="TableParagraph" %)
1176 -<=
1177 -)))|(((
1178 -(% class="TableParagraph" %)
1179 -less than or equal to
1180 -)))
1181 -|(((
1182 -\\
1183 -)))|(((
1184 -(% class="TableParagraph" %)
1185 -*
1186 -)))|(((
1187 -(% class="TableParagraph" %)
1188 -Multiplication
1189 -)))
1190 -|(% colspan="1" %)(% colspan="1" %)
1191 -(((
1192 -\\
1193 -)))|(% colspan="1" %)(% colspan="1" %)
1194 -(((
1195 -(% class="TableParagraph" %)
1196 -/
1197 -)))|(% colspan="1" %)(% colspan="1" %)
1198 -(((
1199 -(% class="TableParagraph" %)
1200 -Division
1201 -)))
1202 -|(% colspan="1" %)(% colspan="1" %)
1203 -(((
1204 -\\
1205 -)))|(% colspan="1" %)(% colspan="1" %)
1206 -(((
1207 -(% class="TableParagraph" %)
1208 -+
1209 -)))|(% colspan="1" %)(% colspan="1" %)
1210 -(((
1211 -(% class="TableParagraph" %)
1212 -Addition
1213 -)))
1214 -|(% colspan="1" %)(% colspan="1" %)
1215 -(((
1216 -\\
1217 -)))|(% colspan="1" %)(% colspan="1" %)
1218 -(((
1219 -(% class="TableParagraph" %)
1220 --
1221 -)))|(% colspan="1" %)(% colspan="1" %)
1222 -(((
1223 -(% class="TableParagraph" %)
1224 -Subtraction
1225 -)))
1226 -|(((
1227 -(% class="TableParagraph" %)
1228 -**Booleans**
1229 -)))|(((
1230 -(% class="TableParagraph" %)
1231 -&
1232 -)))|(((
1233 -(% class="TableParagraph" %)
1234 -Logical AND
1235 -)))
1236 -|(((
1237 -\\
1238 -)))|(((
1239 -(% class="TableParagraph" %)
1240 -~|
1241 -)))|(((
1242 -(% class="TableParagraph" %)
1243 -Logical OR
1244 -)))
1245 -|(((
1246 -\\
1247 -)))|(((
1248 -(% class="TableParagraph" %)
1249 -!
1250 -)))|(((
1251 -(% class="TableParagraph" %)
1252 -Logical NOT
1253 -)))
1254 -{{/expand}}
1255 -
1256 -{{expand title="Application examples of the expert syntax"}}
1257 -=== Application examples ===
1258 -
1259 -In the following section, you will find examples on how to use the expert syntax.
1260 -
1261 -{{info}}
1262 -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).
1263 -
1264 -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.
1265 -{{/info}}
1266 -
1267 -(% class="wrapped" %)
1268 -|=(((
1269 -(% style="color: rgb(63,68,68);" %)Examples of rules in the tabs //«Visibility», «Access», //and// «Points» //(structure element)
1270 -)))|=(((
1271 -Effects
1272 -)))
1273 -|(((
1274 -(% class="TableParagraph" %)
1275 -isGuest(0) or isGuest(0)=1 or isGuest(0)=TRUE
1276 -)))|(((
1277 -(% class="TableParagraph" %)
1278 -Only guests have access to the course element.
1279 -)))
1280 -|(((
1281 -(% class="TableParagraph" %)
1282 -inLearningGroup("Beginners") = 0
1283 -)))|(((
1284 -(% class="TableParagraph" %)
1285 -With the exception of the group //«Beginners»,// the course element is visible to all course participants.
1286 -)))
1287 -|(((
1288 -(% class="TableParagraph" %)
1289 -(now >= date("22.03.2017 12:00")) & (now <= date("23.08.2017 18:00")) | inLearningGroup("Supervisors")
1290 -)))|(((
1291 -(% class="TableParagraph" %)
1292 -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//.//
1293 -)))
1294 -|(((
1295 -(% class="TableParagraph" %)
1296 -(now >= date("03.09.2017 00:00")) & (now <= date("13.10.2017 00:00")) & inRightGroup("Assessors")| isUser("Author")
1297 -)))|(((
1298 -(% class="TableParagraph" %)
1299 -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.
1300 -)))
1301 -|(% colspan="1" %)(% colspan="1" %)
1302 -(((
1303 -(% class="TableParagraph" %)
1304 -isInAttribute("surname","Mue")
1305 -)))|(% colspan="1" %)(% colspan="1" %)
1306 -(((
1307 -(% class="TableParagraph" %)
1308 -Returns TRUE for all persons whose attribute //surname// contains// //the letter sequence "Mue". It returns TRUE e.g. for the value "Mueller" or "Muehlebacher".
1309 -)))
1310 -|(% colspan="1" %)(% colspan="1" %)
1311 -(((
1312 -(% class="TableParagraph" %)
1313 -(getUserProperty("orgUnit") = "Marketing")
1314 -)))|(% colspan="1" %)(% colspan="1" %)
1315 -(((
1316 -(% class="TableParagraph" %)
1317 -Checks whether a person is in the organisation unit "Marketing". This is for example useful if the data are automatically transferred from LDAP.
1318 -)))
1319 -|(% colspan="1" %)(% colspan="1" %)
1320 -(((
1321 -(% class="TableParagraph" %)
1322 -(getPassed("69742969114730") | getPassed("69742969115733") | getPassed("69742969118009")) * 10
1323 -)))|(% colspan="1" %)(% colspan="1" %)
1324 -(((
1325 -(% class="TableParagraph" %)
1326 -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.
1327 -)))
1328 -|(% colspan="1" %)(% colspan="1" %)
1329 -(((
1330 -(getScore("69742969114730") + getScore("69742969115733") + getScore("69742969118009")) >= 140 | getPassed("69978845384688")
1331 -)))|(% colspan="1" %)(% colspan="1" %)
1332 -(((
1333 -(% class="TableParagraph" %)
1334 -This rule is set in the tab //«Points» //->
1335 -
1336 -//«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").
1337 -)))
1338 -|(% colspan="1" %)(% colspan="1" %)
1339 -(((
1340 -(% class="TableParagraph" %)
1341 -getAttempts("70323786958847") > 0
1342 -)))|(% colspan="1" %)(% colspan="1" %)
1343 -(((
1344 -(% class="TableParagraph" %)
1345 -Returns TRUE as soon as the course participant has completed the test with the specified ID for the first time.
1346 -)))
1347 -|(((
1348 -(% class="TableParagraph" %)
1349 -getAttempts("70323524635734") <= 3
1350 -)))|(((
1351 -(% class="TableParagraph" %)
1352 -Returns FALSE as soon as the course participant has saved more than 3 files in the drop box of the course element //Task//.
1353 -)))
1354 -|(((
1355 -(% class="TableParagraph" %)
1356 -getInitialEnrollmentDate("70323786958847") <= date("26.5.2017 18:00")
1357 -)))|(((
1358 -(% class="TableParagraph" %)
1359 -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.
1360 -)))
1361 -|(% colspan="1" %)(% colspan="1" %)
1362 -(((
1363 -(% class="TableParagraph" %)
1364 -getInitialEnrollmentDate("70323786958847") + 2h > now
1365 -)))|(% colspan="1" %)(% colspan="1" %)
1366 -(((
1367 -(% class="TableParagraph" %)
1368 -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.
1369 -)))
1370 -|(% colspan="1" %)(% colspan="1" %)
1371 -(((
1372 -(% class="TableParagraph" %)
1373 -(getInitialCourseLaunchDate(0) >= never) | (getInitialCourseLaunchDate(0) + 2h > now)
1374 -)))|(% colspan="1" %)(% colspan="1" %)
1375 -(((
1376 -(% class="TableParagraph" %)
1377 -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.
1378 -)))
1379 -|(% colspan="1" %)(% colspan="1" %)
1380 -(((
1381 -(% class="TableParagraph" %)
1382 -(getRecentCourseLaunchDate(0) + 10min) > now
1383 -)))|(% colspan="1" %)(% colspan="1" %)
1384 -(((
1385 -(% class="TableParagraph" %)
1386 -Returns TRUE if the user has been active in the course for more than 10 minutes.
1387 -)))
1388 -|(((
1389 -(% class="TableParagraph" %)
1390 -getOnyxTestOutcome("84692289655276","SCORE") >= 10
1391 -)))|(((
1392 -(% class="TableParagraph" %)
1393 -Returns TRUE if the user has reached at least 10 points.
1394 -)))
1395 -|(((
1396 -(% class="TableParagraph" %)
1397 -getOnyxTestOutcomeZK("84389429397045","PASS") ="true"
1398 -)))|(((
1399 -(% class="TableParagraph" %)
1400 -Returns TRUE if the user has passed the test.
1401 -)))
1402 -|(((
1403 -(% class="TableParagraph" %)
1404 -getMark("84692289655276") > 4
1405 -)))|(((
1406 -(% class="TableParagraph" %)
1407 -Returns TRUE if the user's grade for the specified course element is better than 4.
1408 -)))
1409 -
1410 -{{note title="Attention!"}}
1411 -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.
1412 -{{/note}}
1413 -{{/expand}}
90 +{{children/}}
1414 1414  {{/sv-translation}}
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -324443817
1 +476775219
url
... ... @@ -1,1 +1,1 @@
1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/LMS/pages/324443817/Expert Mode
1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/LMS/pages/476775219/Expertenregeln