Änderungen von Dokument Expertenmodus
Zuletzt geändert von Carina Enke am 26.11.2025
Von Version 242.4
bearbeitet von Carina Enke
am 09.01.2024
am 09.01.2024
Änderungskommentar:
Es gibt keinen Kommentar für diese Version
Auf Version 100.1
bearbeitet von Carina Enke
am 17.06.2020
am 17.06.2020
Änderungskommentar:
Mittels Scroll Versions veröffentlicht aus dem Bereich LMSintern und Version 12.4.
Zusammenfassung
-
Seiteneigenschaften (4 geändert, 0 hinzugefügt, 0 gelöscht)
-
Anhänge (0 geändert, 0 hinzugefügt, 9 gelöscht)
- Kursansicht - nicht für registrierte Nutzer_de.png
- Kurseditor - Konfiguration keine Gäste_de.png
- Kurseditor - Konfiguration nicht für Gäste_de.png
- Kurseditor - Konfiguration nur Gäste und Kursverantwortliche_de.png
- Kurseditor - Konfiguration nur registrierte Nutzer_de.png
- Kursrun - Ansicht Gäste_de.png
- Kursrun - Ansicht Kursverantwortlicher_de.png
- Kursrun - Ansicht nur Gäste_de.png
- Kursrun - Ansicht registrierte Nutzer_de.png
-
Objekte (1 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Titel
-
... ... @@ -1,1 +1,1 @@ 1 -Experten modus1 +Expertenregeln - Übergeordnete Seite
-
... ... @@ -1,1 +1,0 @@ 1 -LMS._Include Library.Course Pages.WebHome - Tags
-
... ... @@ -1,1 +1,0 @@ 1 -expertenmodus - Inhalt
-
... ... @@ -1,1697 +1,831 @@ 1 +{{sv-translation language="de"}} 1 1 {{layout}} 2 2 {{layout-section ac:type="single"}} 3 3 {{layout-cell}} 4 - 5 +\\ 5 5 {{/layout-cell}} 6 6 {{/layout-section}} 7 7 8 8 {{layout-section ac:type="single"}} 9 9 {{layout-cell}} 10 -**Verwendungsbeispiele für Expertenregeln** 11 11 12 -Nachfolgend sind Beispiele aufgeführt, die Ihnen zeigen, wie Sie die Expertenregeln verwenden können. 13 13 14 - 15 -(% class="auto-cursor-target" %) 16 -**Typische Anwendungsbeispiele** 17 - 18 -{{expand title="In einem öffentlichen Kurs einzelne Inhalte nur für registrierte Nutzer sichtbar schalten ..."}} 19 -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. 20 - 21 -{{code}} 22 -isGuest()=false 23 -{{/code}} 24 - 25 -(% class="wrapped" %) 26 -|=((( 27 -Konfiguration im Kurseditor 28 -)))|((( 29 -(% class="content-wrapper" %) 30 -((( 31 -[[image:attach:Kurseditor - Konfiguration nur registrierte Nutzer_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] 32 -))) 33 -))) 34 -|=(% colspan="1" %)(% colspan="1" %) 35 -((( 36 -Ansicht als registrierter Nutzer 37 -)))|(% colspan="1" %)(% colspan="1" %) 38 -((( 39 -(% class="content-wrapper" %) 40 -((( 41 -[[image:attach:Kursrun - Ansicht registrierte Nutzer_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] 42 -))) 43 -))) 44 -|=((( 45 -Ansicht als Gastnutzer 46 -)))|((( 47 -[[image:attach:Kurseditor - Konfiguration nicht für Gäste_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] 48 -))) 49 -|=(% colspan="1" %)(% colspan="1" %) 50 -((( 51 -Ansicht als Kursverantwortlicher 52 -)))|(% colspan="1" %)(% colspan="1" %) 53 -((( 54 -(% class="content-wrapper" %) 55 -((( 56 -[[image:attach:Kursrun - Ansicht Kursverantwortlicher_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] 57 -))) 58 -))) 59 -{{/expand}} 60 - 61 -{{expand title="In einem öffentlichen Kurs einzelne Inhalte nur für Gäste sichtbar schalten ..."}} 62 -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. 63 - 64 -{{code}} 65 -isGuest()=true |isCourseAdministrator() 66 -{{/code}} 67 - 68 -(% class="wrapped" %) 69 -|=((( 70 -Konfiguration im Kurseditor 71 -)))|((( 72 -(% class="content-wrapper" %) 73 -((( 74 -[[image:attach:Kurseditor - Konfiguration nur Gäste und Kursverantwortliche_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] 75 -))) 76 -))) 77 -|=(% colspan="1" %)(% colspan="1" %) 78 -((( 79 -Ansicht als registrierter Nutzer 80 -)))|(% colspan="1" %)(% colspan="1" %) 81 -((( 82 -(% class="content-wrapper" %) 83 -((( 84 -[[image:attach:Kursansicht - nicht für registrierte Nutzer_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] 85 -))) 86 -))) 87 -|=((( 88 -Ansicht als Gastnutzer 89 -)))|((( 90 -[[image:attach:Kursrun - Ansicht nur Gäste_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] 91 -))) 92 -|=(% colspan="1" %)(% colspan="1" %) 93 -((( 94 -Ansicht als Kursverantwortlicher 95 -)))|(% colspan="1" %)(% colspan="1" %) 96 -((( 97 -(% class="content-wrapper" %) 98 -((( 99 -[[image:attach:Kursrun - Ansicht Kursverantwortlicher_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] 100 -))) 101 -))) 102 -{{/expand}} 13 +{{children/}} 103 103 {{/layout-cell}} 104 104 {{/layout-section}} 16 +{{/layout}} 17 +{{/sv-translation}} 105 105 106 -{{layout-section ac:type="single"}} 107 -{{layout-cell}} 108 -{{expand title="Kursinhalte nach Testergebnis freigeben ..."}} 109 -Sie wollen Inhalte in Abhängigkeit eines Tests freigeben? Die Umsetzung dieses Szenarios wird auf der Seite [[Lernwegsteuerung nach Testergebnis>>doc:LMS.Benutzerhandbuch OPAL.Lehren.Leitfaeden.Lernwegsteuerung nach Testergebnis.WebHome]] erläutert. 110 -{{/expand}} 111 -{{/layout-cell}} 112 -{{/layout-section}} 19 +{{sv-translation language="en"}} 20 +{{expand title="Display expert syntax"}} 21 +=== Expert syntax === 113 113 114 -{{layout-section ac:type="single"}} 115 -{{layout-cell}} 116 -{{expand title="Weitere Anwendungsbeispiele für Expertenregeln ..."}} 117 -{{info}} 118 -(% class="box infomessage" %)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. 119 -Für OPAL-Nutzer enthält die Seite [[Übersicht der OPAL-Shibboleth-Attribute>>doc:LMS.Benutzerhandbuch OPAL.Administration.OPAL Shibboleth Attribute.WebHome]] alle aktuell verwendbaren institutionsspezifischen Attribute sächsischer Institutionen. 120 -{{/info}} 121 - 122 122 (% class="wrapped" %) 123 123 |=((( 124 - Beispiele für Regeln in den Tabs //«//Sichtbarkeit//»//, //«//Zugang//»// und //«//Punkte//»// (Struktur-Baustein)25 +Type 125 125 )))|=((( 126 -Auswirkungen 27 +Syntax 28 +)))|=((( 29 +Description 127 127 ))) 128 128 |((( 129 -isGuest(0)=true 32 +(% class="TableParagraph" %) 33 +**Constants** 130 130 )))|((( 131 -Eingetragen im Tab Sichtbarkeit sehen nur Gäste den Kursbaustein, alle registrierten Nutzer dagegen nicht. 132 - 133 -Eingetragen im Tab Zugang haben ausschließlich Gäste Zugang zu diesem Kursbaustein. 134 - 135 -Alternativ kann auch die Angabe isGuest(0) oder isGuest(0)=1 verwendet werden. 136 -))) 137 -|(% colspan="1" %)(% colspan="1" %) 138 -((( 139 -isGuest(0)=false 140 -)))|(% colspan="1" %)(% colspan="1" %) 141 -((( 142 -Eingetragen im Tab Sichtbarkeit sehen Gäste den Kursbaustein nicht. Eingetragen im Tab Zugang haben Gäste keinen Zugang zu den Inhalten des Kursbausteins. 143 -))) 144 -|((( 145 -inLearningGroup("Anfänger") = false 35 +(% class="TableParagraph" %) 36 +//TRUE //or //1// 146 146 )))|((( 147 -Mit Ausnahme der Gruppe //«//Anfänger//»// ist der Kursbaustein für alle Kursteilnehmer sichtbar. 38 +(% class="TableParagraph" %) 39 +True 148 148 ))) 149 149 |((( 150 - (now >= date("22.03.2017 12:00")) & (now <= date("23.08.2017 18:00")) | inLearningGroup("Betreuer")42 +\\ 151 151 )))|((( 152 -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. 153 -))) 154 -|((( 155 -(now >= date("03.09.2017 00:00")) & (now <= date("13.10.2017 00:00")) & inRightGroup("Assessoren")| isUser("autor") 44 +(% class="TableParagraph" %) 45 +//FALSE //or //0// 156 156 )))|((( 157 -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. 47 +(% class="TableParagraph" %) 48 +False 158 158 ))) 159 159 |((( 160 -isInAttribute("surname","Mue") 51 +(% class="TableParagraph" %) 52 +**Variable** 161 161 )))|((( 162 -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. 163 -))) 164 -|(% colspan="1" %)(% colspan="1" %) 165 -((( 166 -(getUserProperty("orgUnit") = "Marketing") 167 -)))|(% colspan="1" %)(% colspan="1" %) 168 -((( 169 -Prüft, ob eine Person in der Organisationseinheit "Marketing" ist. Dies ist zum Beispiel sinnvoll, wenn die Daten automatisiert aus LDAP übernommen werden. 170 -))) 171 -|(% colspan="1" %)(% colspan="1" %) 172 -((( 173 -(getPassed("69742969114730") | getPassed("69742969115733") | getPassed("69742969118009")) * 10 174 -)))|(% colspan="1" %)(% colspan="1" %) 175 -((( 176 -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. 177 -))) 178 -|(% colspan="1" %)(% colspan="1" %) 179 -((( 180 -(getScore("69742969114730") + getScore("69742969115733") + getScore("69742969118009")) >= 140 | getPassed("69978845384688") 181 -)))|(% colspan="1" %)(% colspan="1" %) 182 -((( 183 -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"). 184 -))) 185 -|(% colspan="1" %)(% colspan="1" %) 186 -((( 187 -getAttempts("70323786958847") > 0 188 -)))|(% colspan="1" %)(% colspan="1" %) 189 -((( 190 -Gibt TRUE zurück, sobald der betreffende Kursteilnehmer den Test mit spezifizierter ID ein erstes Mal abgeschlossen hat. 191 -))) 192 -|(% colspan="1" %)(% colspan="1" %) 193 -((( 194 -getAttempts("70323524635734") <= 3 195 -)))|(% colspan="1" %)(% colspan="1" %) 196 -((( 197 -Gibt FALSE zurück, sobald der betreffende Kursteilnehmer mehr als 3 Dateien in den Abgabeordner des Kursbausteins Aufgabe gelegt hat. 198 -))) 199 -|(% colspan="1" %)(% colspan="1" %) 200 -((( 201 -getInitialEnrollmentDate("70323786958847") <= date("26.5.2017 18:00") 202 -)))|(% colspan="1" %)(% colspan="1" %) 203 -((( 204 -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. 205 -))) 206 -|(% colspan="1" %)(% colspan="1" %) 207 -((( 208 -getInitialEnrollmentDate("70323786958847") + 2h > now 209 -)))|(% colspan="1" %)(% colspan="1" %) 210 -((( 211 -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. 212 -))) 213 -|(% colspan="1" %)(% colspan="1" %) 214 -((( 215 -(getInitialCourseLaunchDate(0) >= never) | (getInitialCourseLaunchDate(0) + 2h > now) 216 -)))|(% colspan="1" %)(% colspan="1" %) 217 -((( 218 -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. 219 -))) 220 -|(% colspan="1" %)(% colspan="1" %) 221 -((( 222 -(getRecentCourseLaunchDate(0) + 10min) > now 223 -)))|(% colspan="1" %)(% colspan="1" %) 224 -((( 225 -Gibt TRUE zurück, wenn sich der Benutzer seit mehr als 10 Minuten im Kurs bewegt. 226 -))) 227 -|(% colspan="1" %)(% colspan="1" %) 228 -((( 229 -getOnyxTestOutcome("84692289655276","SCORE") >= 10 230 -)))|(% colspan="1" %)(% colspan="1" %) 231 -((( 232 -Gibt TRUE zurück, wenn der Benutzer mindestens 10 Punkte erreicht hat. 233 -))) 234 -|(% colspan="1" %)(% colspan="1" %) 235 -((( 236 -getOnyxTestOutcomeZK("84389429397045","PASS") ="true" 237 -)))|(% colspan="1" %)(% colspan="1" %) 238 -((( 239 -Gibt TRUE zurück, wenn der Benutzer den Test bestanden hat. 240 -))) 241 -|(% colspan="1" %)(% colspan="1" %) 242 -((( 243 -getMark("84692289655276") > 4 244 -)))|(% colspan="1" %)(% colspan="1" %) 245 -((( 246 -Gibt TRUE zurück, wenn die Note des Nutzers für den angegebenen Baustein besser als 4 ist. 247 -))) 248 -|(% colspan="1" %)(% colspan="1" %) 249 -((( 250 -getProgress("69742969114730")>=100 251 -)))|(% colspan="1" %)(% colspan="1" %) 252 -((( 253 -Gibt TRUE zurück, wenn der Nutzer den angegebenen Kursbaustein erledigt hat (Kursfortschritt). 254 -))) 255 - 256 -{{note title="Achtung!"}} 257 -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. 258 -{{/note}} 259 -{{/expand}} 260 -{{/layout-cell}} 261 -{{/layout-section}} 262 - 263 -{{layout-section ac:type="single"}} 264 -{{layout-cell}} 265 -(% class="auto-cursor-target" %) 266 -**Expertnsyntax** 267 - 268 -{{expand title="Übersicht der verfügbaren Expertensyntax ..."}} 269 -(% class="wrapped" %) 270 -|=((( 271 -Typ 272 -)))|=((( 273 -Syntax 274 -)))|=((( 275 -Bedeutung 276 -))) 277 -|(% rowspan="2" %)(% rowspan="2" %) 278 -((( 279 -**Konstanten** 54 +(% class="TableParagraph" %) 55 +//now// 280 280 )))|((( 281 -//TRUE// oder //1// 282 -)))|((( 283 -Wahr 57 +(% class="TableParagraph" %) 58 +Current server system time 284 284 ))) 285 285 |((( 286 -//FALSE// oder //0// 61 +(% class="TableParagraph" %) 62 +**Functions** 287 287 )))|((( 288 -Falsch 64 +(% class="TableParagraph" %) 65 +//date("[date]")// 66 +)))|((( 67 +(% class="TableParagraph" %) 68 +Query date 289 289 ))) 290 290 |(% colspan="1" %)(% colspan="1" %) 291 291 ((( 292 - **Variable**72 +\\ 293 293 )))|(% colspan="1" %)(% colspan="1" %) 294 294 ((( 295 -//now// 75 +(% class="TableParagraph" %) 76 +//inLearningGroup("//[string]//")// 296 296 )))|(% colspan="1" %)(% colspan="1" %) 297 297 ((( 298 -Momentane Server-Systemzeit 79 +(% class="TableParagraph" %) 80 +Returns TRUE for all members of the learning group with the title [string] of the current course. 299 299 ))) 300 -|(% rowspan="37" %)(% rowspan="37" %) 301 -((( 302 -**Funktionen** 303 -)))|(% colspan="1" %)(% colspan="1" %) 304 -((( 305 -//date("//[date]//")// 306 -)))|(% colspan="1" %)(% colspan="1" %) 307 -((( 308 -Datum abfragen 309 -))) 310 310 |(% colspan="1" %)(% colspan="1" %) 311 311 ((( 312 - //inLearningGroup("//[string]//")//84 +\\ 313 313 )))|(% colspan="1" %)(% colspan="1" %) 314 314 ((( 315 -Gibt TRUE für alle Mitglieder der Lerngruppe mit dem Titel [string] des aktuellen Kurses zurück. 316 -))) 317 -|(% colspan="1" %)(% colspan="1" %) 318 -((( 87 +(% class="TableParagraph" %) 319 319 //inLearningGroup("//[string1]//","//[string2]//")// 320 320 )))|(% colspan="1" %)(% colspan="1" %) 321 321 ((( 322 -Gibt TRUE für alle Mitglieder der angegebenen Lerngruppe [string1] des Kurses mit der angegebenen Kurs-ID=[string2] zurück. 91 +(% class="TableParagraph" %) 92 +Returns TRUE for all members of the specified learning group [string1] of the course with the specified course ID=[string2]. 323 323 ))) 324 324 |(% colspan="1" %)(% colspan="1" %) 325 325 ((( 326 - //inLearningGroupWaitingList("//[string]//")//96 +\\ 327 327 )))|(% colspan="1" %)(% colspan="1" %) 328 328 ((( 329 -Gibt TRUE für alle Benutzer in der Warteliste der Lerngruppe [string] des aktuellen Kurses zurück. 330 -))) 331 -|(% colspan="1" %)(% colspan="1" %) 332 -((( 333 -//inLearningGroupWaitingList("//[string1]//","//[string2]//")// 99 +(% class="TableParagraph" %) 100 +//inLearningGroupWaitingList("//[string]//")// 334 334 )))|(% colspan="1" %)(% colspan="1" %) 335 335 ((( 336 -Gibt TRUE für alle Benutzer in der Warteliste der Lerngruppe [string1] des Kurses mit der angegebenen Kurs-ID=[string2] zurück. 103 +(% class="TableParagraph" %) 104 +Returns TRUE for all users on the waiting list of the learning group [string] of the current course. 337 337 ))) 338 338 |(% colspan="1" %)(% colspan="1" %) 339 339 ((( 340 - //inRightGroup("//[string]//")//108 +\\ 341 341 )))|(% colspan="1" %)(% colspan="1" %) 342 342 ((( 343 -Gibt TRUE für alle Mitglieder der Rechtegruppe [string] zurück. 344 -))) 345 -|(% colspan="1" %)(% colspan="1" %) 346 -((( 347 -//isLearningGroupFull("//[string]//")// 111 +(% class="TableParagraph" %) 112 +//inLearningGroupWaitingList("//[string1]//","//[string2]//"// //)// 348 348 )))|(% colspan="1" %)(% colspan="1" %) 349 349 ((( 350 -Gibt für die angegebene Lerngruppe im aktuellen Kurs den Boolean TRUE (=voll) oder FALSE (=nicht voll) zurück. 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]. 351 351 ))) 352 352 |(% colspan="1" %)(% colspan="1" %) 353 353 ((( 354 - //isLearningGroupFull("//[string1]//","//[string2]//")//120 +\\ 355 355 )))|(% colspan="1" %)(% colspan="1" %) 356 356 ((( 357 -Gibt für die angegebene Lerngruppe=[string1] des Kurses mit Kurs-ID=[string2] den Boolean TRUE (=voll) oder FALSE (=nicht voll) zurück. 358 -))) 359 -|(% colspan="1" %)(% colspan="1" %) 360 -((( 361 -//isUser("//[string]//")// 123 +(% class="TableParagraph" %) 124 +//inRightGroup("//[string]//")// 362 362 )))|(% colspan="1" %)(% colspan="1" %) 363 363 ((( 364 -Gibt TRUE für den Benutzer mit dem Benutzernamen [string] zurück. 127 +(% class="TableParagraph" %) 128 +Returns TRUE for all members of the right group [string]. 365 365 ))) 366 366 |(% colspan="1" %)(% colspan="1" %) 367 367 ((( 368 - //inLearningArea("//[string]//")//132 +\\ 369 369 )))|(% colspan="1" %)(% colspan="1" %) 370 370 ((( 371 -Gibt TRUE für alle Mitglieder der Gruppen im Lernbereich [string] des aktuellen Kurses zurück. 372 -))) 373 -|(% colspan="1" %)(% colspan="1" %) 374 -((( 375 -//inLearningArea("//[string1]//","//[string2]//")// 135 +(% class="TableParagraph" %) 136 +//isLearningGroupFull("//[string]//")// 376 376 )))|(% colspan="1" %)(% colspan="1" %) 377 377 ((( 378 -Gibt TRUE für alle Mitglieder der Gruppen im angegebenen Lernbereich [string1] des Kurses mit der angegebenen Kurs-ID=[string2] zurück. 139 +(% class="TableParagraph" %) 140 +Returns the Boolean TRUE (=full) or FALSE (=not full) for the specified learning group in the current course. 379 379 ))) 380 380 |(% colspan="1" %)(% colspan="1" %) 381 381 ((( 382 - //getNumberOfEnrollments("//[string1]*//")//144 +\\ 383 383 )))|(% colspan="1" %)(% colspan="1" %) 384 384 ((( 385 -Gibt TRUE zurück, wenn die konfigurierte Anzahl der Lerngruppenmitgliedschaften im Lernbereich (string1) erreicht ist. 386 -))) 387 -|(% colspan="1" %)(% colspan="1" %) 388 -((( 389 -//isGlobalAuthor()// 147 +(% class="TableParagraph" %) 148 +//isLearningGroupFull("//[string1]//","//[string2]//")// 390 390 )))|(% colspan="1" %)(% colspan="1" %) 391 391 ((( 392 -Gibt TRUE für alle Mitglieder der OPAL-Autorengruppe zurück. 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]. 393 393 ))) 394 394 |(% colspan="1" %)(% colspan="1" %) 395 395 ((( 396 - //isCourseAdministrator()//156 +\\ 397 397 )))|(% colspan="1" %)(% colspan="1" %) 398 398 ((( 399 -Gibt TRUE für alle Besitzer Ihres Kurses (Lernressource) zurück. 400 -))) 401 -|(% colspan="1" %)(% colspan="1" %) 402 -((( 403 -//isCourseCoach()// 159 +(% class="TableParagraph" %) 160 +//isUser("//[string]//")// 404 404 )))|(% colspan="1" %)(% colspan="1" %) 405 405 ((( 406 -Gibt TRUE für alle Benutzer zurück, die eine Lerngruppe betreuen. 163 +(% class="TableParagraph" %) 164 +Returns TRUE for the user with the user name [string]. 407 407 ))) 408 408 |(% colspan="1" %)(% colspan="1" %) 409 409 ((( 410 - //isGuest()//168 +\\ 411 411 )))|(% colspan="1" %)(% colspan="1" %) 412 412 ((( 413 -Gibt TRUE für alle Benutzer zurück, die OPAL als Gäste besuchen. 414 -))) 415 -|(% colspan="1" %)(% colspan="1" %) 416 -((( 417 -//isExternalUser()// 171 +(% class="TableParagraph" %) 172 +//inLearningArea("//[string]//")// 418 418 )))|(% colspan="1" %)(% colspan="1" %) 419 419 ((( 420 -Gibt TRUE für alle zurück, die OPAL als externe Benutzer verwenden. 175 +(% class="TableParagraph" %) 176 +Returns TRUE for all members of the groups in the learning area [string] of the current course. 421 421 ))) 422 422 |(% colspan="1" %)(% colspan="1" %) 423 423 ((( 424 - //hasAttribute("//[AttrName]//","//[string]//")//180 +\\ 425 425 )))|(% colspan="1" %)(% colspan="1" %) 426 426 ((( 427 -Gibt TRUE zurück, wenn [string] dem Wert des AAI-Attributs [AttrName] des jeweiligen Benutzers entspricht. 428 -))) 429 -|(% colspan="1" %)(% colspan="1" %) 430 -((( 431 -//isInAttribute("//[AttrName]//","//[substring]//")// 183 +(% class="TableParagraph" %) 184 +//inLearningArea("//[string1]//","//[string2]//")// 432 432 )))|(% colspan="1" %)(% colspan="1" %) 433 433 ((( 434 -Gibt TRUE zurück, wenn [substring] einem Teil des Wertes des AAI-Attributs [AttrName] des jeweiligen Benutzers entspricht. 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]. 435 435 ))) 436 436 |(% colspan="1" %)(% colspan="1" %) 437 437 ((( 438 - //getUserProperty("//[string]//")//192 +\\ 439 439 )))|(% colspan="1" %)(% colspan="1" %) 440 440 ((( 441 -Gibt die angegebene Benutzer-Eigenschaft des ausführenden Nutzers zurück. 442 -))) 443 -|(% colspan="1" %)(% colspan="1" %) 444 -((( 445 -//getPassed("//[integer]//")// 195 +(% class="TableParagraph" %) 196 +//getNumberOfEnrollments("//[string1]*//")// 446 446 )))|(% colspan="1" %)(% colspan="1" %) 447 447 ((( 448 -Gibt vom Kursbaustein mit spezifizierter ID den Boolean TRUE (=Bestanden) oder FALSE (=Nicht bestanden) zurück. 199 +(% class="TableParagraph" %) 200 +Returns TRUE, when the configured number of learning group members is reached in the learning area (string1). 449 449 ))) 450 450 |(% colspan="1" %)(% colspan="1" %) 451 451 ((( 452 - //getScore("//[integer]//")//204 +\\ 453 453 )))|(% colspan="1" %)(% colspan="1" %) 454 454 ((( 455 -Gibt vom Kursbaustein mit spezifizierter ID die Anzahl der Punkte zurück. 456 -))) 457 -|(% colspan="1" %)(% colspan="1" %) 458 -((( 459 -//getAttempts("//[integer]//")// 207 +(% class="TableParagraph" %) 208 +//isGlobalAuthor(0)// 460 460 )))|(% colspan="1" %)(% colspan="1" %) 461 461 ((( 462 -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. 211 +(% class="TableParagraph" %) 212 +Returns TRUE for all members of the OPAL author group. 463 463 ))) 464 464 |(% colspan="1" %)(% colspan="1" %) 465 465 ((( 466 - //getInitialEnrollmentDate("//[integer]//")//216 +\\ 467 467 )))|(% colspan="1" %)(% colspan="1" %) 468 468 ((( 469 -Gibt vom Kursbaustein Einschreibung mit spezifizierter ID das Datum des erstmaligen Einschreibens des betreffenden Kursteilnehmers zurück. 470 -))) 471 -|(% colspan="1" %)(% colspan="1" %) 472 -((( 473 -//getRecentEnrollmentDate("//[integer]//")// 219 +(% class="TableParagraph" %) 220 +//isCourseAdministrator(0)// 474 474 )))|(% colspan="1" %)(% colspan="1" %) 475 475 ((( 476 -Gibt vom Kursbaustein Einschreibung mit spezifizierter ID das Datum des letzten Einschreibens des betreffenden Kursteilnehmers zurück. 223 +(% class="TableParagraph" %) 224 +Returns TRUE for all owners of your course (learning resource). 477 477 ))) 478 478 |(% colspan="1" %)(% colspan="1" %) 479 479 ((( 480 - //getInitialCourseLaunchDate()//228 +\\ 481 481 )))|(% colspan="1" %)(% colspan="1" %) 482 482 ((( 483 -Gibt das Datum des erstmaligen Kursbesuchs des betreffenden Kursteilnehmers zurück. 484 -))) 485 -|(% colspan="1" %)(% colspan="1" %) 486 -((( 487 -//getRecentCourseLaunchDate()// 231 +(% class="TableParagraph" %) 232 +//isCourseCoach(0)// 488 488 )))|(% colspan="1" %)(% colspan="1" %) 489 489 ((( 490 -Gibt das Datum des letzten Kursbesuchs des betreffenden Kursteilnehmers zurück. 235 +(% class="TableParagraph" %) 236 +Returns TRUE for all users who supervise a learning group. 491 491 ))) 492 492 |(% colspan="1" %)(% colspan="1" %) 493 493 ((( 494 - //getPassedWithCourseId("//[integer-1]//","//[integer-2]//")//240 +\\ 495 495 )))|(% colspan="1" %)(% colspan="1" %) 496 496 ((( 497 -Gibt vom Kursbaustein mit ID=[integer-2] des Kurses mit ID=[integer-1] den Boolean TRUE (=Bestanden) oder FALSE (=Nicht bestanden) zurück. 498 -))) 499 -|(% colspan="1" %)(% colspan="1" %) 500 -((( 501 -//getScoreWithCourseId("//[integer-1]//","//[integer-2]//")// 243 +(% class="TableParagraph" %) 244 +//isGuest(0)// 502 502 )))|(% colspan="1" %)(% colspan="1" %) 503 503 ((( 504 -Gibt vom Kursbaustein mit ID=[integer-2] des Kurses mit ID=[integer-1] die Anzahl der Punkte zurück. 247 +(% class="TableParagraph" %) 248 +Returns TRUE for all users who visit OPAL as guests. 505 505 ))) 506 506 |(% colspan="1" %)(% colspan="1" %) 507 507 ((( 508 - //getMarkWithCourseId("//[integer-1]//","//[integer-2]//")//252 +\\ 509 509 )))|(% colspan="1" %)(% colspan="1" %) 510 510 ((( 511 -Gibt vom Kursbaustein mit ID=[integer-2] des Kurses mit ID=[integer-1] die Note zurück. 512 -))) 513 -|(% colspan="1" %)(% colspan="1" %) 514 -((( 515 -//hasEvaluationCompleted("//KB-ID//")// 255 +(% class="TableParagraph" %) 256 +//isExternalUser(0)// 516 516 )))|(% colspan="1" %)(% colspan="1" %) 517 517 ((( 518 -Gibt TRUE für alle Benutzer zurück, die den angegebenen Kursbaustein erfolgreich beendet haben. 259 +(% class="TableParagraph" %) 260 +Returns TRUE for everyone who uses OPAL as an external user. 519 519 ))) 520 520 |(% colspan="1" %)(% colspan="1" %) 521 521 ((( 522 - //getNumberOfEnrollments("//[string1]*//")//264 +\\ 523 523 )))|(% colspan="1" %)(% colspan="1" %) 524 524 ((( 525 -Gibt TRUE zurück, wenn die konfigurierte Anzahl der Lerngruppenmitgliedschaften im Lernbereich (string1) erreicht ist. 526 -))) 527 -|(% colspan="1" %)(% colspan="1" %) 528 -((( 529 -//getOnyxTestOutcome("//[string1]//","//[string2]//")// 267 +(% class="TableParagraph" %) 268 +//hasAttribute("//[AttrName]//","//[string]//")// 530 530 )))|(% colspan="1" %)(% colspan="1" %) 531 531 ((( 532 -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. 271 +(% class="TableParagraph" %) 272 +Returns TRUE if [string] matches the value of the AAI attribute [AttrName] of the respective user. 533 533 ))) 534 534 |(% colspan="1" %)(% colspan="1" %) 535 535 ((( 536 - //getOnyxTestOutcomeZK("//[string1]//","//[string2]//")//276 +\\ 537 537 )))|(% colspan="1" %)(% colspan="1" %) 538 538 ((( 539 -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. 540 -))) 541 -|(% colspan="1" %)(% colspan="1" %) 542 -((( 543 -//getProgress(//"[integer]"//)// 279 +(% class="TableParagraph" %) 280 +//isInAttribute("//[AttrName]//","//[substring]//")// 544 544 )))|(% colspan="1" %)(% colspan="1" %) 545 545 ((( 546 -Gibt vom Kursbaustein mit spezifizierter ID den Fortschritt als numerischen Wert zwischen 0 und 100 (Prozent) zurück. 283 +(% class="TableParagraph" %) 284 +Returns TRUE if [substring] matches a portion of the value of the AAI attribute [AttrName] of the respective user. 547 547 ))) 548 548 |(% colspan="1" %)(% colspan="1" %) 549 549 ((( 550 - //isPasswordConfirmed("//[string]")288 +\\ 551 551 )))|(% colspan="1" %)(% colspan="1" %) 552 552 ((( 553 -Gibt TRUE nach Eingabe des korrekten Passworts (string1) zurück. 554 - 555 -Kann nur bei Kursbausteinen verwendet werden, die auch im einfachen Modus eine Passwortbeschränkung anbieten. 556 -))) 557 -|(% colspan="1" %)(% colspan="1" %) 558 -((( 559 -//comesFrom("//[string]//")// 291 +(% class="TableParagraph" %) 292 +//getUserProperty("//[string]//")// 560 560 )))|(% colspan="1" %)(% colspan="1" %) 561 561 ((( 562 -Gibt TRUE zurück, wenn der Nutzer ein verlinktes Konto zum OLAT mit der angegebenen System-ID hat. 295 +(% class="TableParagraph" %) 296 +Returns the specified user property of the executing user. 563 563 ))) 564 -|(% rowspan="4" %)(% rowspan="4" %) 565 -((( 566 -**Einheiten** 567 -)))|(% colspan="1" %)(% colspan="1" %) 568 -((( 569 -//min// 570 -)))|(% colspan="1" %)(% colspan="1" %) 571 -((( 572 -Minuten 573 -))) 574 574 |(% colspan="1" %)(% colspan="1" %) 575 575 ((( 576 - //h//300 +\\ 577 577 )))|(% colspan="1" %)(% colspan="1" %) 578 578 ((( 579 -Stunden 580 -))) 581 -|(% colspan="1" %)(% colspan="1" %) 582 -((( 583 -//w// 303 +(% class="TableParagraph" %) 304 +//getPassed("//[integer]//")// 584 584 )))|(% colspan="1" %)(% colspan="1" %) 585 585 ((( 586 -Wochen 307 +(% class="TableParagraph" %) 308 +Returns the Boolean TRUE (=passed) or FALSE (=not passed) from the course element with the specified ID. 587 587 ))) 588 588 |(% colspan="1" %)(% colspan="1" %) 589 589 ((( 590 - //m//312 +\\ 591 591 )))|(% colspan="1" %)(% colspan="1" %) 592 592 ((( 593 -Monate 594 -))) 595 -|(% rowspan="9" %)(% rowspan="9" %) 596 -((( 597 -**Operatoren** 315 +(% class="TableParagraph" %) 316 +//getScore("//[integer]//")// 598 598 )))|(% colspan="1" %)(% colspan="1" %) 599 599 ((( 600 -~= 601 -)))|(% colspan="1" %)(% colspan="1" %) 602 -((( 603 -gleich 319 +(% class="TableParagraph" %) 320 +Returns the number of points from the course element with the specified ID. 604 604 ))) 605 605 |(% colspan="1" %)(% colspan="1" %) 606 606 ((( 607 - ~>324 +\\ 608 608 )))|(% colspan="1" %)(% colspan="1" %) 609 609 ((( 610 -größer als 611 -))) 612 -|(% colspan="1" %)(% colspan="1" %) 613 -((( 614 -< 327 +(% class="TableParagraph" %) 328 +//getAttempts("//[integer]//")// 615 615 )))|(% colspan="1" %)(% colspan="1" %) 616 616 ((( 617 -kleiner als 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). 618 618 ))) 619 619 |(% colspan="1" %)(% colspan="1" %) 620 620 ((( 621 - ~>=336 +\\ 622 622 )))|(% colspan="1" %)(% colspan="1" %) 623 623 ((( 624 -größer gleich 625 -))) 626 -|(% colspan="1" %)(% colspan="1" %) 627 -((( 628 -<= 339 +(% class="TableParagraph" %) 340 +//getInitialEnrollmentDate("//[integer]//")// 629 629 )))|(% colspan="1" %)(% colspan="1" %) 630 630 ((( 631 -kleiner gleich 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. 632 632 ))) 633 633 |(% colspan="1" %)(% colspan="1" %) 634 634 ((( 635 - *348 +\\ 636 636 )))|(% colspan="1" %)(% colspan="1" %) 637 637 ((( 638 -Multiplikation 639 -))) 640 -|(% colspan="1" %)(% colspan="1" %) 641 -((( 642 -/ 351 +(% class="TableParagraph" %) 352 +//getRecentEnrollmentDate("//[integer]//")// 643 643 )))|(% colspan="1" %)(% colspan="1" %) 644 644 ((( 645 -Division 355 +(% class="TableParagraph" %) 356 +Returns the date of the respective course participant's last enrolment from the course element //Enrolment// with the specified ID. 646 646 ))) 647 -|(% colspan="1" %)(% colspan="1" %) 648 -((( 649 -+ 650 -)))|(% colspan="1" %)(% colspan="1" %) 651 -((( 652 -Addition 653 -))) 654 -|(% colspan="1" %)(% colspan="1" %) 655 -((( 656 -- 657 -)))|(% colspan="1" %)(% colspan="1" %) 658 -((( 659 -Subtraktion 660 -))) 661 -|(% rowspan="3" %)(% rowspan="3" %) 662 -((( 663 -**Booleans** 664 - 665 -)))|(% colspan="1" %)(% colspan="1" %) 666 -((( 667 -& 668 -)))|(% colspan="1" %)(% colspan="1" %) 669 -((( 670 -Logisches UND 671 -))) 672 -|(% colspan="1" %)(% colspan="1" %) 673 -((( 674 -~| 675 -)))|(% colspan="1" %)(% colspan="1" %) 676 -((( 677 -Logisches ODER 678 -))) 679 -|(% colspan="1" %)(% colspan="1" %) 680 -((( 681 -! 682 -)))|(% colspan="1" %)(% colspan="1" %) 683 -((( 684 -Logisches NICHT 685 -))) 686 -{{/expand}} 687 -{{/layout-cell}} 688 -{{/layout-section}} 689 -{{/layout}} 690 - 691 -{{layout}} 692 -{{layout-section ac:type="single"}} 693 -{{layout-cell}} 694 -**Application examples of expert rules** 695 - 696 -In the following, you will find examples of how to use the expert syntax. 697 -{{/layout-cell}} 698 -{{/layout-section}} 699 - 700 -{{layout-section ac:type="single"}} 701 -{{layout-cell}} 702 - 703 -{{/layout-cell}} 704 -{{/layout-section}} 705 - 706 -{{layout-section ac:type="single"}} 707 -{{layout-cell}} 708 -**Typical application examples** 709 - 710 -{{expand title="Make individual content elements in a public course only visible to registered users ..."}} 711 -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. 712 - 713 -{{code}} 714 -isGuest(0)=false 715 -{{/code}} 716 - 717 -(% class="wrapped" %) 718 -|=((( 719 -Configuration in the course editor 720 -)))|((( 721 -(% class="content-wrapper" %) 722 -((( 723 -[[image:attach:Kurseditor - Konfiguration nur registrierte Nutzer_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] 724 -))) 725 -))) 726 -|=((( 727 -Course view as a registered user 728 -)))|((( 729 -(% class="content-wrapper" %) 730 -((( 731 -[[image:attach:Kursrun - Ansicht registrierte Nutzer_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] 732 -))) 733 -))) 734 -|=((( 735 -Course view as a guest user 736 -)))|((( 737 -(% class="content-wrapper" %) 738 -((( 739 -[[image:attach:Kurseditor - Konfiguration nicht für Gäste_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] 740 -))) 741 -))) 742 -|=((( 743 -Course view as a course owner 744 -)))|((( 745 -(% class="content-wrapper" %) 746 -((( 747 -[[image:attach:Kursrun - Ansicht Kursverantwortlicher_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] 748 -))) 749 -))) 750 -{{/expand}} 751 - 752 -{{expand title="Make individual content elements in a public course only visible to guests ..."}} 753 -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. 754 - 755 -{{code}} 756 -isGuest(0)=true |isCourseAdministrator(0) 757 -{{/code}} 758 - 759 -(% class="wrapped" %) 760 -|=((( 761 -Configuration in the course editor 762 -)))|((( 763 -(% class="content-wrapper" %) 764 -((( 765 -[[image:attach:Kurseditor - Konfiguration keine Gäste_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] 766 -))) 767 -))) 768 -|=((( 769 -Course view as a registered user 770 -)))|((( 771 -(% class="content-wrapper" %) 772 -((( 773 -[[image:attach:Kursansicht - nicht für registrierte Nutzer_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] 774 -))) 775 -))) 776 -|=((( 777 -Course view as a guest user 778 -)))|((( 779 -(% class="content-wrapper" %) 780 -((( 781 -[[image:attach:Kursrun - Ansicht nur Gäste_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] 782 -))) 783 -))) 784 -|=((( 785 -Course view as a course owner 786 -)))|((( 787 -(% class="content-wrapper" %) 788 -((( 789 -[[image:attach:Kursrun - Ansicht Kursverantwortlicher_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] 790 -))) 791 -))) 792 -{{/expand}} 793 -{{/layout-cell}} 794 -{{/layout-section}} 795 - 796 -{{layout-section ac:type="single"}} 797 -{{layout-cell}} 798 -{{expand title="Activate course elements according to test result ..."}} 799 -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>>doc:LMS.Benutzerhandbuch OPAL.Lehren.Leitfaeden.Lernwegsteuerung nach Testergebnis.WebHome]]. 800 -{{/expand}} 801 -{{/layout-cell}} 802 -{{/layout-section}} 803 - 804 -{{layout-section ac:type="single"}} 805 -{{layout-cell}} 806 -{{expand title="Further application examples of the expert syntax ..."}} 807 -{{info}} 808 -(% class="box infomessage" %)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. 809 - 810 -(% class="box infomessage" %)For OPAL users, the help page [[Overview of OPAL Shibboleth>>doc:LMS.Benutzerhandbuch OPAL.Administration.OPAL Shibboleth Attribute.WebHome]] attributes contains all currently usable institution-specific attributes of Saxon institutions. 811 -{{/info}} 812 - 813 -(% class="wrapped" %) 814 -|=((( 815 -(% style="color:#3f4444" %)Examples of rules in the tabs //«//Visibility// », « //Access// », //and //« //Points// » //(structure element) 816 -)))|=((( 817 -Effects 818 -))) 819 819 |((( 820 -(% class="TableParagraph" %) 821 -isGuest(0)=true 359 +\\ 822 822 )))|((( 823 823 (% class="TableParagraph" %) 824 -If this code is entered in the Visibility tab, the course element will only be visible to guests, but not to registered users. 825 - 826 -(% class="TableParagraph" %) 827 -If this code is entered in the Access tab, only guests will have access to this course element. 828 - 829 -(% class="TableParagraph" %) 830 -Alternatively, the code isGuest(0) or isGuest (0)=1 can be used. 831 -))) 832 -|(% colspan="1" %)(% colspan="1" %) 833 -((( 834 -isGuest(0)=false 835 -)))|(% colspan="1" %)(% colspan="1" %) 836 -((( 837 -If this code is entered in the Visibility tab, the course element will be hidden from guests. 838 - 839 -If this code is entered in the Access tab, guests will not have access to the course element's contents. 840 -))) 841 -|((( 842 -(% class="TableParagraph" %) 843 -inLearningGroup("Beginners") = false 362 +//getInitialCourseLaunchDate(0)// 844 844 )))|((( 845 845 (% class="TableParagraph" %) 846 - Withtheexceptionof the«Beginners» group//,//thecourseelementwillbevisibleto allcourse participants.365 +Returns the date of the first course visit of the respective course participant. 847 847 ))) 848 848 |((( 849 -(% class="TableParagraph" %) 850 -(now >= date("22.03.2017 12:00")) & (now <= date("23.08.2017 18:00")) | inLearningGroup("Supervisors") 368 +\\ 851 851 )))|((( 852 852 (% class="TableParagraph" %) 853 -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//.// 854 -))) 855 -|((( 856 -(% class="TableParagraph" %) 857 -(now >= date("03.09.2017 00:00")) & (now <= date("13.10.2017 00:00")) & inRightGroup("Assessors")| isUser("Author") 371 +//getRecentCourseLaunchDate(0)// 858 858 )))|((( 859 859 (% class="TableParagraph" %) 860 - Thecourse element will be visibleto all courseparticipantsof the«Assessors»rightgroupfrom03.09.2017to 13.10.2017. For theuserwith theuser name «Author»//, //incontrast,itwill be visibleat anytime.374 +Returns the date of the last course visit of the respective course participant. 861 861 ))) 862 862 |(% colspan="1" %)(% colspan="1" %) 863 863 ((( 864 -(% class="TableParagraph" %) 865 -isInAttribute("surname","Mue") 378 +\\ 866 866 )))|(% colspan="1" %)(% colspan="1" %) 867 867 ((( 868 868 (% class="TableParagraph" %) 869 -Returns TRUE for all users whose «surname» attribute contains// //the letter sequence "Mue". For example, it returns TRUE for the value "Mueller" or "Muehlebacher". 870 -))) 871 -|(% colspan="1" %)(% colspan="1" %) 872 -((( 873 -(% class="TableParagraph" %) 874 -(getUserProperty("orgUnit") = "Marketing") 382 +//getRecentCourseLaunchDate(0)// 875 875 )))|(% colspan="1" %)(% colspan="1" %) 876 876 ((( 877 877 (% class="TableParagraph" %) 878 - Checkswhetherapersonis inthe"Marketing"organisationunit. This is useful,forexample, ifthedata is automatically transferred from LDAP.386 +Returns the date of the last course visit of the respective course participant. 879 879 ))) 880 880 |(% colspan="1" %)(% colspan="1" %) 881 881 ((( 882 -(% class="TableParagraph" %) 883 -(getPassed("69742969114730") | getPassed("69742969115733") | getPassed("69742969118009")) * 10 390 +\\ 884 884 )))|(% colspan="1" %)(% colspan="1" %) 885 885 ((( 886 886 (% class="TableParagraph" %) 887 -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. 888 -))) 889 -|(% colspan="1" %)(% colspan="1" %) 890 -((( 891 -(getScore("69742969114730") + getScore("69742969115733") + getScore("69742969118009")) >= 140 | getPassed("69978845384688") 394 +//getPassedWithCourseId("//[integer-1]//","//[integer- 2]//")// 892 892 )))|(% colspan="1" %)(% colspan="1" %) 893 893 ((( 894 894 (% class="TableParagraph" %) 895 -This rule can be set in the «Points» tab -> 896 - 897 -«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"). 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]. 898 898 ))) 899 899 |(% colspan="1" %)(% colspan="1" %) 900 900 ((( 901 -(% class="TableParagraph" %) 902 -getAttempts("70323786958847") > 0 402 +\\ 903 903 )))|(% colspan="1" %)(% colspan="1" %) 904 904 ((( 905 905 (% class="TableParagraph" %) 906 -Returns TRUE as soon as the course participant has completed the test with the specified ID for the first time. 907 -))) 908 -|((( 909 -(% class="TableParagraph" %) 910 -getAttempts("70323524635734") <= 3 911 -)))|((( 912 -(% class="TableParagraph" %) 913 -Returns FALSE as soon as the course participant has saved more than 3 files to the drop box of the Task course element. 914 -))) 915 -|((( 916 -(% class="TableParagraph" %) 917 -getInitialEnrollmentDate("70323786958847") <= date("26.5.2017 18:00") 918 -)))|((( 919 -(% class="TableParagraph" %) 920 -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. 921 -))) 922 -|(% colspan="1" %)(% colspan="1" %) 923 -((( 924 -(% class="TableParagraph" %) 925 -getInitialEnrollmentDate("70323786958847") + 2h > now 406 +//getScoreWithCourseId("//[integer-1]//","//[integer-2]//")// 926 926 )))|(% colspan="1" %)(% colspan="1" %) 927 927 ((( 928 928 (% class="TableParagraph" %) 929 -Returns TRUE within two hours from thetime of enrolment forthosecourseparticipantswho enrolled in one ofthe available groupsviatheEnrolmentcourse elementusinga specifiedID. In this way, it canbeensuredthateachcourseparticipantcan onlye.g.process a script during a certain period of time.410 +Returns the number of points from the course element with the ID=[integer-2] of the course with the ID=[integer-1]. 930 930 ))) 931 931 |(% colspan="1" %)(% colspan="1" %) 932 932 ((( 933 -(% class="TableParagraph" %) 934 -(getInitialCourseLaunchDate(0) >= never) | (getInitialCourseLaunchDate(0) + 2h > now) 414 +\\ 935 935 )))|(% colspan="1" %)(% colspan="1" %) 936 936 ((( 937 -(% class="TableParagraph" %) 938 -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. 939 -))) 940 -|(% colspan="1" %)(% colspan="1" %) 941 -((( 942 -(% class="TableParagraph" %) 943 -(getRecentCourseLaunchDate(0) + 10min) > now 417 +//getMarkWithCourseId(" //[integer-1]//","//[integer-2]//")// 944 944 )))|(% colspan="1" %)(% colspan="1" %) 945 945 ((( 946 -(% class="TableParagraph" %) 947 -Returns TRUE if the user has been active in the course for more than 10 minutes. 420 +Returns the grade from the course element with the with the ID=[integer-1]. 948 948 ))) 949 949 |((( 423 +\\ 424 +)))|((( 950 950 (% class="TableParagraph" %) 951 - getOnyxTestOutcome("84692289655276","SCORE")>= 10426 +//hasEvaluationCompleted("//KB-ID//")// 952 952 )))|((( 953 953 (% class="TableParagraph" %) 954 -Returns TRUE iftheuser hasreachedatleast10points.429 +Returns TRUE for all users who have successfully completed the specified course element. 955 955 ))) 956 956 |((( 432 +\\ 433 +)))|((( 957 957 (% class="TableParagraph" %) 958 -get OnyxTestOutcomeZK("84389429397045","PASS") ="true"435 +//getNumberOfEnrollments("//[string1]*//")// 959 959 )))|((( 960 960 (% class="TableParagraph" %) 961 -Returns TRUE ifthe userhaspassed thetest.438 +Returns TRUE, when the configured number of learning group members is reached in the learning area (string1). 962 962 ))) 963 963 |((( 441 +\\ 442 +)))|((( 964 964 (% class="TableParagraph" %) 965 -get Mark("84692289655276")> 4444 +//getOnyxTestOutcome("//[string1]//","//[string2]//")// 966 966 )))|((( 967 967 (% class="TableParagraph" %) 968 -Returns TRUEif the user'smarkfor thespecifiedcourse element isbetter than4.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. 969 969 ))) 970 970 |(% colspan="1" %)(% colspan="1" %) 971 971 ((( 972 - getProgress("69742969114730")>=100451 +\\ 973 973 )))|(% colspan="1" %)(% colspan="1" %) 974 974 ((( 975 -Returns TRUE if the user has completed the specified course element (course progress). 976 -))) 977 - 978 -{{note title="Attention!"}} 979 -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. 980 -{{/note}} 981 -{{/expand}} 982 -{{/layout-cell}} 983 -{{/layout-section}} 984 - 985 -{{layout-section ac:type="single"}} 986 -{{layout-cell}} 987 -**Expert syntax** 988 - 989 -{{expand title="Overview of the available expert syntax ..."}} 990 -(% class="wrapped" %) 991 -|=((( 992 -Type 993 -)))|=((( 994 -Syntax 995 -)))|=((( 996 -Description 997 -))) 998 -|(% rowspan="2" %)(% rowspan="2" %) 999 -((( 1000 1000 (% class="TableParagraph" %) 1001 -**Constants** 1002 -)))|((( 1003 -(% class="TableParagraph" %) 1004 -//TRUE //or //1// 1005 -)))|((( 1006 -(% class="TableParagraph" %) 1007 -True 1008 -))) 1009 -|((( 1010 -(% class="TableParagraph" %) 1011 -//FALSE //or //0// 1012 -)))|((( 1013 -(% class="TableParagraph" %) 1014 -False 1015 -))) 1016 -|((( 1017 -(% class="TableParagraph" %) 1018 -**Variable** 1019 -)))|((( 1020 -(% class="TableParagraph" %) 1021 -//now// 1022 -)))|((( 1023 -(% class="TableParagraph" %) 1024 -Current server system time 1025 -))) 1026 -|(% rowspan="37" %)(% rowspan="37" %) 455 +//getOnyxTestOutcomeZK("//[string1]//","//[string2]//")// 456 +)))|(% colspan="1" %)(% colspan="1" %) 1027 1027 ((( 1028 1028 (% class="TableParagraph" %) 1029 -**Functions** 1030 - 1031 - 1032 - 1033 -\\\\ 1034 - 1035 - 1036 - 1037 - 1038 - 1039 - 1040 -\\ 1041 - 1042 - 1043 - 1044 - 1045 - 1046 - 1047 - 1048 - 1049 - 1050 -\\\\ 1051 - 1052 - 1053 - 1054 - 1055 - 1056 - 1057 - 1058 - 1059 - 1060 - 1061 - 1062 - 1063 - 1064 -\\\\\\ 1065 - 1066 - 1067 - 1068 - 1069 - 1070 - 1071 - 1072 - 1073 - 1074 - 1075 - 1076 - 1077 - 1078 - 1079 - 1080 - 1081 - 1082 - 1083 -\\\\ 1084 - 1085 - 1086 - 1087 - 1088 - 1089 - 1090 - 1091 - 1092 - 1093 - 1094 - 1095 - 1096 - 1097 - 1098 - 1099 - 1100 - 1101 - 1102 - 1103 - 1104 - 1105 - 1106 - 1107 - 1108 - 1109 - 1110 - 1111 - 1112 - 1113 - 1114 - 1115 - 1116 - 1117 - 1118 - 1119 - 1120 - 1121 - 1122 - 1123 - 1124 - 1125 - 1126 - 1127 - 1128 - 1129 - 1130 - 1131 - 1132 - 1133 - 1134 - 1135 - 1136 - 1137 - 1138 - 1139 - 1140 - 1141 - 1142 - 1143 - 1144 - 1145 - 1146 - 1147 - 1148 - 1149 - 1150 - 1151 - 1152 - 1153 - 1154 -\\\\ 1155 - 1156 - 1157 - 1158 - 1159 - 1160 - 1161 - 1162 - 1163 - 1164 - 1165 - 1166 - 1167 - 1168 - 1169 - 1170 - 1171 - 1172 - 1173 - 1174 - 1175 - 1176 - 1177 - 1178 - 1179 - 1180 - 1181 - 1182 - 1183 - 1184 - 1185 -\\\\ 1186 - 1187 - 1188 - 1189 - 1190 - 1191 - 1192 - 1193 - 1194 - 1195 - 1196 - 1197 - 1198 - 1199 - 1200 - 1201 - 1202 - 1203 - 1204 - 1205 - 1206 - 1207 - 1208 - 1209 - 1210 - 1211 - 1212 - 1213 - 1214 - 1215 - 1216 - 1217 - 1218 - 1219 - 1220 -\\\\ 1221 -)))|((( 1222 -(% class="TableParagraph" %) 1223 -//date("[date]")// 1224 -)))|((( 1225 -(% class="TableParagraph" %) 1226 -Query date 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. 1227 1227 ))) 1228 1228 |(% colspan="1" %)(% colspan="1" %) 1229 1229 ((( 463 +\\ 464 +)))|(% colspan="1" %)(% colspan="1" %) 465 +((( 1230 1230 (% class="TableParagraph" %) 1231 -// inLearningGroup("//[string]//")//467 +//getProgress(//"[integer]"//)// 1232 1232 )))|(% colspan="1" %)(% colspan="1" %) 1233 1233 ((( 1234 1234 (% class="TableParagraph" %) 1235 -Returns TRUEforall membersof the learninggroupwith thetitle[string]ofthecurrentcourse.471 +Returns the progress from the course element with the specified ID as a numerical value between 0 and 100 (percent). 1236 1236 ))) 1237 1237 |(% colspan="1" %)(% colspan="1" %) 1238 1238 ((( 475 +\\ 476 +)))|(% colspan="1" %)(% colspan="1" %) 477 +((( 1239 1239 (% class="TableParagraph" %) 1240 -//i nLearningGroup("//[string1]//","//[string2]//")//479 +//isPasswordConfirmed("//[string]") 1241 1241 )))|(% colspan="1" %)(% colspan="1" %) 1242 1242 ((( 1243 1243 (% class="TableParagraph" %) 1244 -Returns TRUE for all members of the specified learning group [string1] of the course with the specified course ID=[string2]. 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. 1245 1245 ))) 1246 1246 |(% colspan="1" %)(% colspan="1" %) 1247 1247 ((( 490 +\\ 491 +)))|(% colspan="1" %)(% colspan="1" %) 492 +((( 1248 1248 (% class="TableParagraph" %) 1249 -// inLearningGroupWaitingList("//[string]//")//494 +//comesFrom("//[string]//")// 1250 1250 )))|(% colspan="1" %)(% colspan="1" %) 1251 1251 ((( 1252 1252 (% class="TableParagraph" %) 1253 -Returns TRUE f oralluserson the waiting listofthelearninggroup [string]ofthe currentcourse.498 +Returns TRUE if the user has a linked account to OLAT with the specified system ID. 1254 1254 ))) 1255 1255 |(% colspan="1" %)(% colspan="1" %) 1256 1256 ((( 1257 1257 (% class="TableParagraph" %) 1258 - //inLearningGroupWaitingList("//[string1]//","//[string2]//"// //)//503 +**Units** 1259 1259 )))|(% colspan="1" %)(% colspan="1" %) 1260 1260 ((( 1261 1261 (% class="TableParagraph" %) 1262 -Returns TRUE for all users on the waiting list of the learning group [string1] of the course with the specified course ID=[string2]. 1263 -))) 1264 -|(% colspan="1" %)(% colspan="1" %) 1265 -((( 1266 -(% class="TableParagraph" %) 1267 -//inRightGroup("//[string]//")// 507 +//min// 1268 1268 )))|(% colspan="1" %)(% colspan="1" %) 1269 1269 ((( 1270 1270 (% class="TableParagraph" %) 1271 - Returns TRUE for all members oftheright group [string].511 +Minutes 1272 1272 ))) 1273 1273 |(% colspan="1" %)(% colspan="1" %) 1274 1274 ((( 1275 -(% class="TableParagraph" %) 1276 -//isLearningGroupFull("//[string]//")// 515 +\\ 1277 1277 )))|(% colspan="1" %)(% colspan="1" %) 1278 1278 ((( 1279 1279 (% class="TableParagraph" %) 1280 -Returns the Boolean TRUE (=full) or FALSE (=not full) for the specified learning group in the current course. 1281 -))) 1282 -|(% colspan="1" %)(% colspan="1" %) 1283 -((( 1284 -(% class="TableParagraph" %) 1285 -//isLearningGroupFull("//[string1]//","//[string2]//")// 519 +//h// 1286 1286 )))|(% colspan="1" %)(% colspan="1" %) 1287 1287 ((( 1288 1288 (% class="TableParagraph" %) 1289 - Returns the Boolean TRUE (=full) or FALSE (=not full) for the specified learning group=[string1] of the course with the course ID=[string2].523 +//h// 1290 1290 ))) 1291 1291 |(% colspan="1" %)(% colspan="1" %) 1292 1292 ((( 1293 -(% class="TableParagraph" %) 1294 -//isUser("//[string]//")// 527 +\\ 1295 1295 )))|(% colspan="1" %)(% colspan="1" %) 1296 1296 ((( 1297 1297 (% class="TableParagraph" %) 1298 -Returns TRUE for the user with the user name [string]. 1299 -))) 1300 -|(% colspan="1" %)(% colspan="1" %) 1301 -((( 1302 -(% class="TableParagraph" %) 1303 -//inLearningArea("//[string]//")// 531 +//w// 1304 1304 )))|(% colspan="1" %)(% colspan="1" %) 1305 1305 ((( 1306 1306 (% class="TableParagraph" %) 1307 - Returns TRUE for all membersof the groups in the learning area [string] of the current course.535 +Weeks 1308 1308 ))) 1309 1309 |(% colspan="1" %)(% colspan="1" %) 1310 1310 ((( 1311 -(% class="TableParagraph" %) 1312 -//inLearningArea("//[string1]//","//[string2]//")// 539 +\\ 1313 1313 )))|(% colspan="1" %)(% colspan="1" %) 1314 1314 ((( 1315 1315 (% class="TableParagraph" %) 1316 -Returns TRUE for all members of the groups in the specified learning area [string1] of the course with the specified course ID=[string2]. 1317 -))) 1318 -|(% colspan="1" %)(% colspan="1" %) 1319 -((( 1320 -(% class="TableParagraph" %) 1321 -//getNumberOfEnrollments("//[string1]*//")// 543 +//m// 1322 1322 )))|(% colspan="1" %)(% colspan="1" %) 1323 1323 ((( 1324 1324 (% class="TableParagraph" %) 1325 - Returns TRUE, when the configured number of learning group members is reached inthe learning area (string1).547 +Months 1326 1326 ))) 1327 1327 |(% colspan="1" %)(% colspan="1" %) 1328 1328 ((( 1329 1329 (% class="TableParagraph" %) 1330 - //isGlobalAuthor()//552 +**Operators** 1331 1331 )))|(% colspan="1" %)(% colspan="1" %) 1332 1332 ((( 1333 1333 (% class="TableParagraph" %) 1334 -Returns TRUE for all members of the OPAL author group. 1335 -))) 1336 -|(% colspan="1" %)(% colspan="1" %) 1337 -((( 1338 -(% class="TableParagraph" %) 1339 -//isCourseAdministrator()// 556 +~= 1340 1340 )))|(% colspan="1" %)(% colspan="1" %) 1341 1341 ((( 1342 1342 (% class="TableParagraph" %) 1343 - Returns TRUE forallowners of your course (learning resource).560 +equal to 1344 1344 ))) 1345 -|(% colspan="1" %)(% colspan="1" %) 1346 -((( 562 +|((( 563 +\\ 564 +)))|((( 1347 1347 (% class="TableParagraph" %) 1348 -//isCourseCoach()// 1349 -)))|(% colspan="1" %)(% colspan="1" %) 1350 -((( 566 +~> 567 +)))|((( 1351 1351 (% class="TableParagraph" %) 1352 - Returns TRUE forall userswho supervisealearning group.569 +greater than 1353 1353 ))) 1354 -|(% colspan="1" %)(% colspan="1" %) 1355 -((( 571 +|((( 572 +\\ 573 +)))|((( 1356 1356 (% class="TableParagraph" %) 1357 -//isGuest()// 1358 -)))|(% colspan="1" %)(% colspan="1" %) 1359 -((( 575 +< 576 +)))|((( 1360 1360 (% class="TableParagraph" %) 1361 - Returns TRUE for all userswho visitOPAL as guests.578 +less than 1362 1362 ))) 1363 -|(% colspan="1" %)(% colspan="1" %) 1364 -((( 580 +|((( 581 +\\ 582 +)))|((( 1365 1365 (% class="TableParagraph" %) 1366 -//isExternalUser()// 1367 -)))|(% colspan="1" %)(% colspan="1" %) 1368 -((( 584 +~>= 585 +)))|((( 1369 1369 (% class="TableParagraph" %) 1370 - ReturnsTRUE for everyone whouses OPALas an externaluser.587 +greater than or equal to 1371 1371 ))) 1372 -|(% colspan="1" %)(% colspan="1" %) 1373 -((( 589 +|((( 590 +\\ 591 +)))|((( 1374 1374 (% class="TableParagraph" %) 1375 -//hasAttribute("//[AttrName]//","//[string]//")// 1376 -)))|(% colspan="1" %)(% colspan="1" %) 1377 -((( 593 +<= 594 +)))|((( 1378 1378 (% class="TableParagraph" %) 1379 - ReturnsTRUE if [string]matches the valueoftheAAI attribute [AttrName]ofthe respective user.596 +less than or equal to 1380 1380 ))) 1381 -|(% colspan="1" %)(% colspan="1" %) 1382 -((( 598 +|((( 599 +\\ 600 +)))|((( 1383 1383 (% class="TableParagraph" %) 1384 -//isInAttribute("//[AttrName]//","//[substring]//")// 1385 -)))|(% colspan="1" %)(% colspan="1" %) 1386 -((( 602 +* 603 +)))|((( 1387 1387 (% class="TableParagraph" %) 1388 - Returns TRUE if [substring] matches aportion of the value of the AAI attribute [AttrName] ofthe respective user.605 +Multiplication 1389 1389 ))) 1390 1390 |(% colspan="1" %)(% colspan="1" %) 1391 1391 ((( 1392 -(% class="TableParagraph" %) 1393 -//getUserProperty("//[string]//")// 609 +\\ 1394 1394 )))|(% colspan="1" %)(% colspan="1" %) 1395 1395 ((( 1396 1396 (% class="TableParagraph" %) 1397 -Returns the specified user property of the executing user. 1398 -))) 1399 -|(% colspan="1" %)(% colspan="1" %) 1400 -((( 1401 -(% class="TableParagraph" %) 1402 -//getPassed("//[integer]//")// 613 +/ 1403 1403 )))|(% colspan="1" %)(% colspan="1" %) 1404 1404 ((( 1405 1405 (% class="TableParagraph" %) 1406 - Returns the Boolean TRUE (=passed) or FALSE (=not passed) from the course element with thespecified ID.617 +Division 1407 1407 ))) 1408 1408 |(% colspan="1" %)(% colspan="1" %) 1409 1409 ((( 1410 -(% class="TableParagraph" %) 1411 -//getScore("//[integer]//")// 621 +\\ 1412 1412 )))|(% colspan="1" %)(% colspan="1" %) 1413 1413 ((( 1414 1414 (% class="TableParagraph" %) 1415 -Returns the number of points from the course element with the specified ID. 1416 -))) 1417 -|(% colspan="1" %)(% colspan="1" %) 1418 -((( 1419 -(% class="TableParagraph" %) 1420 -//getAttempts("//[integer]//")// 625 ++ 1421 1421 )))|(% colspan="1" %)(% colspan="1" %) 1422 1422 ((( 1423 1423 (% class="TableParagraph" %) 1424 - Returns the number of completedattempts from the course element with the specifiedID. Can be appliedto course elements of the type Test, Self-test, Survey (possible return values 0or 1), and Task (return value = number of submitted files).629 +Addition 1425 1425 ))) 1426 1426 |(% colspan="1" %)(% colspan="1" %) 1427 1427 ((( 1428 -(% class="TableParagraph" %) 1429 -//getInitialEnrollmentDate("//[integer]//")// 633 +\\ 1430 1430 )))|(% colspan="1" %)(% colspan="1" %) 1431 1431 ((( 1432 1432 (% class="TableParagraph" %) 1433 -Returns the date of the respective course participant's first-time enrolment from the Enrolment course element with the specified ID. 1434 -))) 1435 -|(% colspan="1" %)(% colspan="1" %) 1436 -((( 1437 -(% class="TableParagraph" %) 1438 -//getRecentEnrollmentDate("//[integer]//")// 637 +- 1439 1439 )))|(% colspan="1" %)(% colspan="1" %) 1440 1440 ((( 1441 1441 (% class="TableParagraph" %) 1442 - Returnsthe date of therespective course participant's last enrolment from the Enrolment course element with the specified ID.641 +Subtraction 1443 1443 ))) 1444 1444 |((( 1445 1445 (% class="TableParagraph" %) 1446 - //getInitialCourseLaunchDate()//645 +**Booleans** 1447 1447 )))|((( 1448 1448 (% class="TableParagraph" %) 1449 -Returns the date of the first-time course visit of the respective course participant. 648 +& 649 +)))|((( 650 +(% class="TableParagraph" %) 651 +Logical AND 1450 1450 ))) 1451 1451 |((( 654 +\\ 655 +)))|((( 1452 1452 (% class="TableParagraph" %) 1453 - //getRecentCourseLaunchDate()//657 +~| 1454 1454 )))|((( 1455 1455 (% class="TableParagraph" %) 1456 - Returns the dateof the last course visit of the respective course participant.660 +Logical OR 1457 1457 ))) 1458 -|(% colspan="1" %)(% colspan="1" %) 1459 -((( 662 +|((( 663 +\\ 664 +)))|((( 1460 1460 (% class="TableParagraph" %) 1461 -//getPassedWithCourseId("//[integer-1]//","//[integer- 2]//")// 1462 -)))|(% colspan="1" %)(% colspan="1" %) 1463 -((( 666 +! 667 +)))|((( 1464 1464 (% class="TableParagraph" %) 1465 - Returns the Boolean TRUE (=passed) or FALSE (=not passed) from thecourse elementwith the ID=[integer-2] of the course with the ID=[integer-1].669 +Logical NOT 1466 1466 ))) 1467 -|(% colspan="1" %)(% colspan="1" %) 1468 -((( 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 +|((( 1469 1469 (% class="TableParagraph" %) 1470 -//getScoreWithCourseId("//[integer-1]//","//[integer-2]//")// 1471 -)))|(% colspan="1" %)(% colspan="1" %) 1472 -((( 692 +isGuest(0) or isGuest(0)=1 or isGuest(0)=true 693 +)))|((( 1473 1473 (% class="TableParagraph" %) 1474 - Returnsthe number of pointsfrom the courseelementwith the ID=[integer-2]ofthe coursewith theID=[integer-1].695 +Only guests have access to the course element. 1475 1475 ))) 1476 -|(% colspan="1" %)(% colspan="1" %) 1477 -((( 1478 -//getMarkWithCourseId(" //[integer-1]//","//[integer-2]//")// 1479 -)))|(% colspan="1" %)(% colspan="1" %) 1480 -((( 1481 -Returns the mark from the course element with the ID=[integer-2] of the course with the ID=[integer-1]. 1482 -))) 1483 1483 |((( 1484 1484 (% class="TableParagraph" %) 1485 - //hasEvaluationCompleted("//KB-ID//")//699 +inLearningGroup("Beginners") = 0 1486 1486 )))|((( 1487 1487 (% class="TableParagraph" %) 1488 - ReturnsTRUE foralluserswho havesuccessfullycompletedthespecifiedcourseelement.702 +With the exception of the group //«Beginners»,// the course element is visible to all course participants. 1489 1489 ))) 1490 1490 |((( 1491 1491 (% class="TableParagraph" %) 1492 - //getNumberOfEnrollments("//[string1]*//")//706 +(now >= date("22.03.2017 12:00")) & (now <= date("23.08.2017 18:00")) | inLearningGroup("Supervisors") 1493 1493 )))|((( 1494 1494 (% class="TableParagraph" %) 1495 - ReturnsTRUE,whenthe configurednumber of learning groupmembers isreachedinthe learningarea(string1).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//.// 1496 1496 ))) 1497 1497 |((( 1498 1498 (% class="TableParagraph" %) 1499 - //getOnyxTestOutcome("//[string1]//","//[string2]//")//713 +(now >= date("03.09.2017 00:00")) & (now <= date("13.10.2017 00:00")) & inRightGroup("Assessors")| isUser("Author") 1500 1500 )))|((( 1501 1501 (% class="TableParagraph" %) 1502 - Returns from theONYX testcourse element withthe specifiedID(string1)andthespecifiedoutputvariable(string2)thevalueofthisvariable.The returnvaluewill be a number.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. 1503 1503 ))) 1504 1504 |(% colspan="1" %)(% colspan="1" %) 1505 1505 ((( 1506 1506 (% class="TableParagraph" %) 1507 - //getOnyxTestOutcomeZK("//[string1]//","//[string2]//")//721 +isInAttribute("surname","Mue") 1508 1508 )))|(% colspan="1" %)(% colspan="1" %) 1509 1509 ((( 1510 1510 (% class="TableParagraph" %) 1511 -Returns f romtheONYX testcourseelementwith the specifiedID (string1)andthe specifiedoutputvariable(string2)thevalueof thisvariable.Thereturnvaluewill beastring.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". 1512 1512 ))) 1513 1513 |(% colspan="1" %)(% colspan="1" %) 1514 1514 ((( 1515 1515 (% class="TableParagraph" %) 1516 - //getProgress(//"[integer]"//)//730 +(getUserProperty("orgUnit") = "Marketing") 1517 1517 )))|(% colspan="1" %)(% colspan="1" %) 1518 1518 ((( 1519 1519 (% class="TableParagraph" %) 1520 - Returns the progressfromthecourse elementwiththespecifiedIDasanumericalvaluebetween 0and 100 (percent).734 +Checks whether a person is in the organisation unit "Marketing". This is for example useful if the data are automatically transferred from LDAP. 1521 1521 ))) 1522 1522 |(% colspan="1" %)(% colspan="1" %) 1523 1523 ((( 1524 1524 (% class="TableParagraph" %) 1525 - //isPasswordConfirmed("//[string]")739 +(getPassed("69742969114730") | getPassed("69742969115733") | getPassed("69742969118009")) * 10 1526 1526 )))|(% colspan="1" %)(% colspan="1" %) 1527 1527 ((( 1528 1528 (% class="TableParagraph" %) 1529 -Returns TRUE after entering the correct password (string1). 1530 - 1531 -(% class="TableParagraph" %) 1532 -Can only be used with course elements that allow a password restriction even in simple mode. 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. 1533 1533 ))) 1534 1534 |(% colspan="1" %)(% colspan="1" %) 1535 1535 ((( 1536 -(% class="TableParagraph" %) 1537 -//comesFrom("//[string]//")// 747 +(getScore("69742969114730") + getScore("69742969115733") + getScore("69742969118009")) >= 140 | getPassed("69978845384688") 1538 1538 )))|(% colspan="1" %)(% colspan="1" %) 1539 1539 ((( 1540 1540 (% class="TableParagraph" %) 1541 -Returns TRUE if the user has a linked account to OLAT with the specified system ID. 1542 -))) 1543 -|(% rowspan="4" %)(% rowspan="4" %) 1544 -((( 1545 -(% class="TableParagraph" %) 1546 -**Units** 751 +This rule is set in the tab //«Points» //-> 1547 1547 1548 - 1549 - 1550 - 1551 -)))|(% colspan="1" %)(% colspan="1" %) 1552 -((( 1553 -(% class="TableParagraph" %) 1554 -//min// 1555 -)))|(% colspan="1" %)(% colspan="1" %) 1556 -((( 1557 -(% class="TableParagraph" %) 1558 -Minutes 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"). 1559 1559 ))) 1560 1560 |(% colspan="1" %)(% colspan="1" %) 1561 1561 ((( 1562 1562 (% class="TableParagraph" %) 1563 - //h//758 +getAttempts("70323786958847") > 0 1564 1564 )))|(% colspan="1" %)(% colspan="1" %) 1565 1565 ((( 1566 1566 (% class="TableParagraph" %) 1567 - Hours762 +Returns TRUE as soon as the course participant has completed the test with the specified ID for the first time. 1568 1568 ))) 1569 -|(% colspan="1" %)(% colspan="1" %) 1570 -((( 1571 -(% class="TableParagraph" %) 1572 -//w// 1573 -)))|(% colspan="1" %)(% colspan="1" %) 1574 -((( 1575 -(% class="TableParagraph" %) 1576 -Weeks 1577 -))) 1578 -|(% colspan="1" %)(% colspan="1" %) 1579 -((( 1580 -(% class="TableParagraph" %) 1581 -//m// 1582 -)))|(% colspan="1" %)(% colspan="1" %) 1583 -((( 1584 -(% class="TableParagraph" %) 1585 -Months 1586 -))) 1587 -|(% rowspan="9" %)(% rowspan="9" %) 1588 -((( 1589 -(% class="TableParagraph" %) 1590 -**Operators** 1591 - 1592 - 1593 - 1594 -\\\\\\\\\\ 1595 -)))|(% colspan="1" %)(% colspan="1" %) 1596 -((( 1597 -(% class="TableParagraph" %) 1598 -~= 1599 -)))|(% colspan="1" %)(% colspan="1" %) 1600 -((( 1601 -(% class="TableParagraph" %) 1602 -Equal to 1603 -))) 1604 1604 |((( 1605 1605 (% class="TableParagraph" %) 1606 - ~>766 +getAttempts("70323524635734") <= 3 1607 1607 )))|((( 1608 1608 (% class="TableParagraph" %) 1609 - Greater than769 +Returns FALSE as soon as the course participant has saved more than 3 files in the drop box of the course element //Task//. 1610 1610 ))) 1611 1611 |((( 1612 1612 (% class="TableParagraph" %) 1613 -< 773 +getInitialEnrollmentDate("70323786958847") <= date("26.5.2017 18:00") 1614 1614 )))|((( 1615 1615 (% class="TableParagraph" %) 1616 - Less than776 +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. 1617 1617 ))) 1618 -|((( 1619 -(% class="TableParagraph" %) 1620 -~>= 1621 -)))|((( 1622 -(% class="TableParagraph" %) 1623 -Greater than or equal to 1624 -))) 1625 -|((( 1626 -(% class="TableParagraph" %) 1627 -<= 1628 -)))|((( 1629 -(% class="TableParagraph" %) 1630 -Less than or equal to 1631 -))) 1632 -|((( 1633 -(% class="TableParagraph" %) 1634 -* 1635 -)))|((( 1636 -(% class="TableParagraph" %) 1637 -Multiplication 1638 -))) 1639 1639 |(% colspan="1" %)(% colspan="1" %) 1640 1640 ((( 1641 1641 (% class="TableParagraph" %) 1642 - /781 +getInitialEnrollmentDate("70323786958847") + 2h > now 1643 1643 )))|(% colspan="1" %)(% colspan="1" %) 1644 1644 ((( 1645 1645 (% class="TableParagraph" %) 1646 - Division785 +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. 1647 1647 ))) 1648 1648 |(% colspan="1" %)(% colspan="1" %) 1649 1649 ((( 1650 1650 (% class="TableParagraph" %) 1651 -+ 790 +(getInitialCourseLaunchDate(0) >= never) | (getInitialCourseLaunchDate(0) + 2h > now) 1652 1652 )))|(% colspan="1" %)(% colspan="1" %) 1653 1653 ((( 1654 1654 (% class="TableParagraph" %) 1655 - Addition794 +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. 1656 1656 ))) 1657 1657 |(% colspan="1" %)(% colspan="1" %) 1658 1658 ((( 1659 1659 (% class="TableParagraph" %) 1660 - -799 +(getRecentCourseLaunchDate(0) + 10min) > now 1661 1661 )))|(% colspan="1" %)(% colspan="1" %) 1662 1662 ((( 1663 1663 (% class="TableParagraph" %) 1664 - Subtraction803 +Returns TRUE if the user has been active in the course for more than 10 minutes. 1665 1665 ))) 1666 -|(% rowspan="3" %)(% rowspan="3" %) 1667 -((( 805 +|((( 1668 1668 (% class="TableParagraph" %) 1669 -**Booleans** 1670 - 1671 - 1672 - 807 +getOnyxTestOutcome("84692289655276","SCORE") >= 10 1673 1673 )))|((( 1674 1674 (% class="TableParagraph" %) 1675 -& 1676 -)))|((( 1677 -(% class="TableParagraph" %) 1678 -Logical AND 810 +Returns TRUE if the user has reached at least 10 points. 1679 1679 ))) 1680 1680 |((( 1681 1681 (% class="TableParagraph" %) 1682 - ~|814 +getOnyxTestOutcomeZK("84389429397045","PASS") ="true" 1683 1683 )))|((( 1684 1684 (% class="TableParagraph" %) 1685 - LogicalOR817 +Returns TRUE if the user has passed the test. 1686 1686 ))) 1687 1687 |((( 1688 1688 (% class="TableParagraph" %) 1689 - !821 +getMark("84692289655276") > 4 1690 1690 )))|((( 1691 1691 (% class="TableParagraph" %) 1692 - LogicalNOT824 +Returns TRUE if the user's grade for the specified course element is better than 4. 1693 1693 ))) 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}} 1694 1694 {{/expand}} 1695 -{{/layout-cell}} 1696 -{{/layout-section}} 1697 -{{/layout}} 831 +{{/sv-translation}}
- Kursansicht - nicht für registrierte Nutzer_de.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Größe
-
... ... @@ -1,1 +1,0 @@ 1 -25.4 KB - Inhalt
- Kurseditor - Konfiguration keine Gäste_de.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Größe
-
... ... @@ -1,1 +1,0 @@ 1 -39.7 KB - Inhalt
- Kurseditor - Konfiguration nicht für Gäste_de.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Größe
-
... ... @@ -1,1 +1,0 @@ 1 -23.5 KB - Inhalt
- Kurseditor - Konfiguration nur Gäste und Kursverantwortliche_de.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Größe
-
... ... @@ -1,1 +1,0 @@ 1 -46.4 KB - Inhalt
- Kurseditor - Konfiguration nur registrierte Nutzer_de.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Größe
-
... ... @@ -1,1 +1,0 @@ 1 -46.7 KB - Inhalt
- Kursrun - Ansicht Gäste_de.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Größe
-
... ... @@ -1,1 +1,0 @@ 1 -23.6 KB - Inhalt
- Kursrun - Ansicht Kursverantwortlicher_de.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Größe
-
... ... @@ -1,1 +1,0 @@ 1 -28.9 KB - Inhalt
- Kursrun - Ansicht nur Gäste_de.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Größe
-
... ... @@ -1,1 +1,0 @@ 1 -21.3 KB - Inhalt
- Kursrun - Ansicht registrierte Nutzer_de.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Größe
-
... ... @@ -1,1 +1,0 @@ 1 -31.7 KB - Inhalt
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -1 519139931 +346194347 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/LMS/pages/1 51913993/ExpertMode1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/LMS/pages/346194347/Expertenregeln