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