Änderungen von Dokument Expertenmodus
Zuletzt geändert von Carina Enke am 16.01.2024
Von Version 87.1
bearbeitet von Carina Enke
am 24.09.2021
am 24.09.2021
Änderungskommentar:
Mittels Scroll Versions veröffentlicht aus dem Bereich LMSintern und Version 13.3.
Auf Version 95.1
bearbeitet von Carina Enke
am 25.06.2020
am 25.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,992 +8,20 @@ 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(0)=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(0)=true |isCourseAdministrator(0) 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}} 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}} 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 -(% class="wrapped" %) 126 -|=((( 127 -Beispiele für Regeln in den Tabs //«//Sichtbarkeit//»//, //«//Zugang//»// und //«//Punkte//»// (Struktur-Baustein) 128 -)))|=((( 129 -Auswirkungen 130 -))) 131 -|((( 132 -isGuest(0)=true 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") = 0 149 -)))|((( 150 -Mit Ausnahme der Gruppe //«//Anfänger//»// ist der Kursbaustein für alle Kursteilnehmer sichtbar. 151 -))) 152 -|((( 153 -(now >= date("22.03.2017 12:00")) & (now <= date("23.08.2017 18:00")) | inLearningGroup("Betreuer") 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") 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. 161 -))) 162 -|((( 163 -isInAttribute("surname","Mue") 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** 283 -)))|((( 284 -//TRUE// oder //1// 285 -)))|((( 286 -Wahr 287 -))) 288 -|((( 289 -//FALSE// oder //0// 290 -)))|((( 291 -Falsch 292 -))) 293 -|(% colspan="1" %)(% colspan="1" %) 294 -((( 295 -**Variable** 296 -)))|(% colspan="1" %)(% colspan="1" %) 297 -((( 298 -//now// 299 -)))|(% colspan="1" %)(% colspan="1" %) 300 -((( 301 -Momentane Server-Systemzeit 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 -|(% colspan="1" %)(% colspan="1" %) 314 -((( 315 -//inLearningGroup("//[string]//")// 316 -)))|(% colspan="1" %)(% colspan="1" %) 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 -((( 322 -//inLearningGroup("//[string1]//","//[string2]//")// 323 -)))|(% colspan="1" %)(% colspan="1" %) 324 -((( 325 -Gibt TRUE für alle Mitglieder der angegebenen Lerngruppe [string1] des Kurses mit der angegebenen Kurs-ID=[string2] zurück. 326 -))) 327 -|(% colspan="1" %)(% colspan="1" %) 328 -((( 329 -//inLearningGroupWaitingList("//[string]//")// 330 -)))|(% colspan="1" %)(% colspan="1" %) 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]//")// 337 -)))|(% colspan="1" %)(% colspan="1" %) 338 -((( 339 -Gibt TRUE für alle Benutzer in der Warteliste der Lerngruppe [string1] des Kurses mit der angegebenen Kurs-ID=[string2] zurück. 340 -))) 341 -|(% colspan="1" %)(% colspan="1" %) 342 -((( 343 -//inRightGroup("//[string]//")// 344 -)))|(% colspan="1" %)(% colspan="1" %) 345 -((( 346 -Gibt TRUE für alle Mitglieder der Rechtegruppe [string] zurück. 347 -))) 348 -|(% colspan="1" %)(% colspan="1" %) 349 -((( 350 -//isLearningGroupFull("//[string]//")// 351 -)))|(% colspan="1" %)(% colspan="1" %) 352 -((( 353 -Gibt für die angegebene Lerngruppe im aktuellen Kurs den Boolean TRUE (=voll) oder FALSE (=nicht voll) zurück. 354 -))) 355 -|(% colspan="1" %)(% colspan="1" %) 356 -((( 357 -//isLearningGroupFull("//[string1]//","//[string2]//")// 358 -)))|(% colspan="1" %)(% colspan="1" %) 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]//")// 365 -)))|(% colspan="1" %)(% colspan="1" %) 366 -((( 367 -Gibt TRUE für den Benutzer mit dem Benutzernamen [string] zurück. 368 -))) 369 -|(% colspan="1" %)(% colspan="1" %) 370 -((( 371 -//inLearningArea("//[string]//")// 372 -)))|(% colspan="1" %)(% colspan="1" %) 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]//")// 379 -)))|(% colspan="1" %)(% colspan="1" %) 380 -((( 381 -Gibt TRUE für alle Mitglieder der Gruppen im angegebenen Lernbereich [string1] des Kurses mit der angegebenen Kurs-ID=[string2] zurück. 382 -))) 383 -|(% colspan="1" %)(% colspan="1" %) 384 -((( 385 -//getNumberOfEnrollments("//[string1]*//")// 386 -)))|(% colspan="1" %)(% colspan="1" %) 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(0)// 393 -)))|(% colspan="1" %)(% colspan="1" %) 394 -((( 395 -Gibt TRUE für alle Mitglieder der OPAL-Autorengruppe zurück. 396 -))) 397 -|(% colspan="1" %)(% colspan="1" %) 398 -((( 399 -//isCourseAdministrator(0)// 400 -)))|(% colspan="1" %)(% colspan="1" %) 401 -((( 402 -Gibt TRUE für alle Besitzer Ihres Kurses (Lernressource) zurück. 403 -))) 404 -|(% colspan="1" %)(% colspan="1" %) 405 -((( 406 -//isCourseCoach(0)// 407 -)))|(% colspan="1" %)(% colspan="1" %) 408 -((( 409 -Gibt TRUE für alle Benutzer zurück, die eine Lerngruppe betreuen. 410 -))) 411 -|(% colspan="1" %)(% colspan="1" %) 412 -((( 413 -//isGuest(0)// 414 -)))|(% colspan="1" %)(% colspan="1" %) 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(0)// 421 -)))|(% colspan="1" %)(% colspan="1" %) 422 -((( 423 -Gibt TRUE für alle zurück, die OPAL als externe Benutzer verwenden. 424 -))) 425 -|(% colspan="1" %)(% colspan="1" %) 426 -((( 427 -//hasAttribute("//[AttrName]//","//[string]//")// 428 -)))|(% colspan="1" %)(% colspan="1" %) 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]//")// 435 -)))|(% colspan="1" %)(% colspan="1" %) 436 -((( 437 -Gibt TRUE zurück, wenn [substring] einem Teil des Wertes des AAI-Attributs [AttrName] des jeweiligen Benutzers entspricht. 438 -))) 439 -|(% colspan="1" %)(% colspan="1" %) 440 -((( 441 -//getUserProperty("//[string]//")// 442 -)))|(% colspan="1" %)(% colspan="1" %) 443 -((( 444 -Gibt die angegebene Benutzer-Eigenschaft des ausführenden Nutzers zurück. 445 -))) 446 -|(% colspan="1" %)(% colspan="1" %) 447 -((( 448 -//getPassed("//[integer]//")// 449 -)))|(% colspan="1" %)(% colspan="1" %) 450 -((( 451 -Gibt vom Kursbaustein mit spezifizierter ID den Boolean TRUE (=Bestanden) oder FALSE (=Nicht bestanden) zurück. 452 -))) 453 -|(% colspan="1" %)(% colspan="1" %) 454 -((( 455 -//getScore("//[integer]//")// 456 -)))|(% colspan="1" %)(% colspan="1" %) 457 -((( 458 -Gibt vom Kursbaustein mit spezifizierter ID die Anzahl der Punkte zurück. 459 -))) 460 -|(% colspan="1" %)(% colspan="1" %) 461 -((( 462 -//getAttempts("//[integer]//")// 463 -)))|(% colspan="1" %)(% colspan="1" %) 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. 466 -))) 467 -|(% colspan="1" %)(% colspan="1" %) 468 -((( 469 -//getInitialEnrollmentDate("//[integer]//")// 470 -)))|(% colspan="1" %)(% colspan="1" %) 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]//")// 477 -)))|(% colspan="1" %)(% colspan="1" %) 478 -((( 479 -Gibt vom Kursbaustein Einschreibung mit spezifizierter ID das Datum des letzten Einschreibens des betreffenden Kursteilnehmers zurück. 480 -))) 481 -|(% colspan="1" %)(% colspan="1" %) 482 -((( 483 -//getInitialCourseLaunchDate(0)// 484 -)))|(% colspan="1" %)(% colspan="1" %) 485 -((( 486 -Gibt das Datum des erstmaligen Kursbesuchs des betreffenden Kursteilnehmers zurück. 487 -))) 488 -|(% colspan="1" %)(% colspan="1" %) 489 -((( 490 -//getRecentCourseLaunchDate(0)// 491 -)))|(% colspan="1" %)(% colspan="1" %) 492 -((( 493 -Gibt das Datum des letzten Kursbesuchs des betreffenden Kursteilnehmers zurück. 494 -))) 495 -|(% colspan="1" %)(% colspan="1" %) 496 -((( 497 -//getPassedWithCourseId("//[integer-1]//","//[integer-2]//")// 498 -)))|(% colspan="1" %)(% colspan="1" %) 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]//")// 505 -)))|(% colspan="1" %)(% colspan="1" %) 506 -((( 507 -Gibt vom Kursbaustein mit ID=[integer-2] des Kurses mit ID=[integer-1] die Anzahl der Punkte zurück. 508 -))) 509 -|(% colspan="1" %)(% colspan="1" %) 510 -((( 511 -//getMarkWithCourseId("//[integer-1]//","//[integer-2]//")// 512 -)))|(% colspan="1" %)(% colspan="1" %) 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//")// 519 -)))|(% colspan="1" %)(% colspan="1" %) 520 -((( 521 -Gibt TRUE für alle Benutzer zurück, die den angegebenen Kursbaustein erfolgreich beendet haben. 522 -))) 523 -|(% colspan="1" %)(% colspan="1" %) 524 -((( 525 -//getNumberOfEnrollments("//[string1]*//")// 526 -)))|(% colspan="1" %)(% colspan="1" %) 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]//")// 533 -)))|(% colspan="1" %)(% colspan="1" %) 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. 536 -))) 537 -|(% colspan="1" %)(% colspan="1" %) 538 -((( 539 -//getOnyxTestOutcomeZK("//[string1]//","//[string2]//")// 540 -)))|(% colspan="1" %)(% colspan="1" %) 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]"//)// 547 -)))|(% colspan="1" %)(% colspan="1" %) 548 -((( 549 -Gibt vom Kursbaustein mit spezifizierter ID den Fortschritt als numerischen Wert zwischen 0 und 100 (Prozent) zurück. 550 -))) 551 -|(% colspan="1" %)(% colspan="1" %) 552 -((( 553 -//isPasswordConfirmed("//[string]") 554 -)))|(% colspan="1" %)(% colspan="1" %) 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]//")// 563 -)))|(% colspan="1" %)(% colspan="1" %) 564 -((( 565 -Gibt TRUE zurück, wenn der Nutzer ein verlinktes Konto zum OLAT mit der angegebenen System-ID hat. 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 -|(% colspan="1" %)(% colspan="1" %) 578 -((( 579 -//h// 580 -)))|(% colspan="1" %)(% colspan="1" %) 581 -((( 582 -Stunden 583 -))) 584 -|(% colspan="1" %)(% colspan="1" %) 585 -((( 586 -//w// 587 -)))|(% colspan="1" %)(% colspan="1" %) 588 -((( 589 -Wochen 590 -))) 591 -|(% colspan="1" %)(% colspan="1" %) 592 -((( 593 -//m// 594 -)))|(% colspan="1" %)(% colspan="1" %) 595 -((( 596 -Monate 597 -))) 598 -|(% rowspan="9" %)(% rowspan="9" %) 599 -((( 600 -**Operatoren** 601 -)))|(% colspan="1" %)(% colspan="1" %) 602 -((( 603 -~= 604 -)))|(% colspan="1" %)(% colspan="1" %) 605 -((( 606 -gleich 607 -))) 608 -|(% colspan="1" %)(% colspan="1" %) 609 -((( 610 -~> 611 -)))|(% colspan="1" %)(% colspan="1" %) 612 -((( 613 -größer als 614 -))) 615 -|(% colspan="1" %)(% colspan="1" %) 616 -((( 617 -< 618 -)))|(% colspan="1" %)(% colspan="1" %) 619 -((( 620 -kleiner als 621 -))) 622 -|(% colspan="1" %)(% colspan="1" %) 623 -((( 624 -~>= 625 -)))|(% colspan="1" %)(% colspan="1" %) 626 -((( 627 -größer gleich 628 -))) 629 -|(% colspan="1" %)(% colspan="1" %) 630 -((( 631 -<= 632 -)))|(% colspan="1" %)(% colspan="1" %) 633 -((( 634 -kleiner gleich 635 -))) 636 -|(% colspan="1" %)(% colspan="1" %) 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 -\\ 668 -)))|(% colspan="1" %)(% colspan="1" %) 669 -((( 670 -& 671 -)))|(% colspan="1" %)(% colspan="1" %) 672 -((( 673 -Logisches UND 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 692 {{/layout}} 693 693 {{/sv-translation}} 694 694 695 695 {{sv-translation language="en"}} 696 -{{layout}} 697 -{{layout-section ac:type="single"}} 698 -{{layout-cell}} 699 -**Application examples of expert rules** 20 +{{expand title="Display expert syntax"}} 21 +=== Expert syntax === 700 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}} 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 722 (% class="wrapped" %) 723 723 |=((( 724 -Configuration in the course editor 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 -(% class="TableParagraph" %) 826 -isGuest(0)=true 827 -)))|((( 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. 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 -|((( 847 -(% class="TableParagraph" %) 848 -inLearningGroup("Beginners") = 0 849 -)))|((( 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") 856 -)))|((( 857 -(% class="TableParagraph" %) 858 -The course element will be visible to all course participants from 22.03.2017 to 23.08.2017. For the members of the «Supervisors» learning group//, //in contrast, it will be visible// //at any time//.// 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 -|(% colspan="1" %)(% colspan="1" %) 868 -((( 869 -(% class="TableParagraph" %) 870 -isInAttribute("surname","Mue") 871 -)))|(% colspan="1" %)(% colspan="1" %) 872 -((( 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") 880 -)))|(% colspan="1" %)(% colspan="1" %) 881 -((( 882 -(% class="TableParagraph" %) 883 -Checks whether a person is in the "Marketing" organisation unit. This is useful, for example, if the data is automatically transferred from LDAP. 884 -))) 885 -|(% colspan="1" %)(% colspan="1" %) 886 -((( 887 -(% class="TableParagraph" %) 888 -(getPassed("69742969114730") | getPassed("69742969115733") | getPassed("69742969118009")) * 10 889 -)))|(% colspan="1" %)(% colspan="1" %) 890 -((( 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") 897 -)))|(% colspan="1" %)(% colspan="1" %) 898 -((( 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"). 903 -))) 904 -|(% colspan="1" %)(% colspan="1" %) 905 -((( 906 -(% class="TableParagraph" %) 907 -getAttempts("70323786958847") > 0 908 -)))|(% colspan="1" %)(% colspan="1" %) 909 -((( 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 931 -)))|(% colspan="1" %)(% colspan="1" %) 932 -((( 933 -(% class="TableParagraph" %) 934 -Returns TRUE within two hours from the time of enrolment for those course participants who enrolled in one of the available groups via the Enrolment course element using a specified ID. In this way, it can be ensured that each course participant can only e.g. process a script during a certain period of time. 935 -))) 936 -|(% colspan="1" %)(% colspan="1" %) 937 -((( 938 -(% class="TableParagraph" %) 939 -(getInitialCourseLaunchDate(0) >= never) | (getInitialCourseLaunchDate(0) + 2h > now) 940 -)))|(% colspan="1" %)(% colspan="1" %) 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 949 -)))|(% colspan="1" %)(% colspan="1" %) 950 -((( 951 -(% class="TableParagraph" %) 952 -Returns TRUE if the user has been active in the course for more than 10 minutes. 953 -))) 954 -|((( 955 -(% class="TableParagraph" %) 956 -getOnyxTestOutcome("84692289655276","SCORE") >= 10 957 -)))|((( 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" 964 -)))|((( 965 -(% class="TableParagraph" %) 966 -Returns TRUE if the user has passed the test. 967 -))) 968 -|((( 969 -(% class="TableParagraph" %) 970 -getMark("84692289655276") > 4 971 -)))|((( 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 997 Type 998 998 )))|=((( 999 999 Syntax ... ... @@ -1000,8 +1000,7 @@ 1000 1000 )))|=((( 1001 1001 Description 1002 1002 ))) 1003 -|(% rowspan="2" %)(% rowspan="2" %) 1004 -((( 31 +|((( 1005 1005 (% class="TableParagraph" %) 1006 1006 **Constants** 1007 1007 )))|((( ... ... @@ -1012,6 +1012,8 @@ 1012 1012 True 1013 1013 ))) 1014 1014 |((( 42 +\\ 43 +)))|((( 1015 1015 (% class="TableParagraph" %) 1016 1016 //FALSE //or //0// 1017 1017 )))|((( ... ... @@ -1028,504 +1028,9 @@ 1028 1028 (% class="TableParagraph" %) 1029 1029 Current server system time 1030 1030 ))) 1031 -|(% rowspan="37" %)(% rowspan="37" %) 1032 -((( 60 +|((( 1033 1033 (% class="TableParagraph" %) 1034 1034 **Functions** 1035 - 1036 - 1037 -\\\\\\\\ 1038 - 1039 -(% class="TableParagraph" %) 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 1531 //date("[date]")// ... ... @@ -1535,6 +1535,9 @@ 1535 1535 ))) 1536 1536 |(% colspan="1" %)(% colspan="1" %) 1537 1537 ((( 72 +\\ 73 +)))|(% colspan="1" %)(% colspan="1" %) 74 +((( 1538 1538 (% class="TableParagraph" %) 1539 1539 //inLearningGroup("//[string]//")// 1540 1540 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1544,6 +1544,9 @@ 1544 1544 ))) 1545 1545 |(% colspan="1" %)(% colspan="1" %) 1546 1546 ((( 84 +\\ 85 +)))|(% colspan="1" %)(% colspan="1" %) 86 +((( 1547 1547 (% class="TableParagraph" %) 1548 1548 //inLearningGroup("//[string1]//","//[string2]//")// 1549 1549 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1553,6 +1553,9 @@ 1553 1553 ))) 1554 1554 |(% colspan="1" %)(% colspan="1" %) 1555 1555 ((( 96 +\\ 97 +)))|(% colspan="1" %)(% colspan="1" %) 98 +((( 1556 1556 (% class="TableParagraph" %) 1557 1557 //inLearningGroupWaitingList("//[string]//")// 1558 1558 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1562,6 +1562,9 @@ 1562 1562 ))) 1563 1563 |(% colspan="1" %)(% colspan="1" %) 1564 1564 ((( 108 +\\ 109 +)))|(% colspan="1" %)(% colspan="1" %) 110 +((( 1565 1565 (% class="TableParagraph" %) 1566 1566 //inLearningGroupWaitingList("//[string1]//","//[string2]//"// //)// 1567 1567 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1571,6 +1571,9 @@ 1571 1571 ))) 1572 1572 |(% colspan="1" %)(% colspan="1" %) 1573 1573 ((( 120 +\\ 121 +)))|(% colspan="1" %)(% colspan="1" %) 122 +((( 1574 1574 (% class="TableParagraph" %) 1575 1575 //inRightGroup("//[string]//")// 1576 1576 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1580,6 +1580,9 @@ 1580 1580 ))) 1581 1581 |(% colspan="1" %)(% colspan="1" %) 1582 1582 ((( 132 +\\ 133 +)))|(% colspan="1" %)(% colspan="1" %) 134 +((( 1583 1583 (% class="TableParagraph" %) 1584 1584 //isLearningGroupFull("//[string]//")// 1585 1585 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1589,6 +1589,9 @@ 1589 1589 ))) 1590 1590 |(% colspan="1" %)(% colspan="1" %) 1591 1591 ((( 144 +\\ 145 +)))|(% colspan="1" %)(% colspan="1" %) 146 +((( 1592 1592 (% class="TableParagraph" %) 1593 1593 //isLearningGroupFull("//[string1]//","//[string2]//")// 1594 1594 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1598,6 +1598,9 @@ 1598 1598 ))) 1599 1599 |(% colspan="1" %)(% colspan="1" %) 1600 1600 ((( 156 +\\ 157 +)))|(% colspan="1" %)(% colspan="1" %) 158 +((( 1601 1601 (% class="TableParagraph" %) 1602 1602 //isUser("//[string]//")// 1603 1603 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1607,6 +1607,9 @@ 1607 1607 ))) 1608 1608 |(% colspan="1" %)(% colspan="1" %) 1609 1609 ((( 168 +\\ 169 +)))|(% colspan="1" %)(% colspan="1" %) 170 +((( 1610 1610 (% class="TableParagraph" %) 1611 1611 //inLearningArea("//[string]//")// 1612 1612 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1616,6 +1616,9 @@ 1616 1616 ))) 1617 1617 |(% colspan="1" %)(% colspan="1" %) 1618 1618 ((( 180 +\\ 181 +)))|(% colspan="1" %)(% colspan="1" %) 182 +((( 1619 1619 (% class="TableParagraph" %) 1620 1620 //inLearningArea("//[string1]//","//[string2]//")// 1621 1621 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1625,6 +1625,9 @@ 1625 1625 ))) 1626 1626 |(% colspan="1" %)(% colspan="1" %) 1627 1627 ((( 192 +\\ 193 +)))|(% colspan="1" %)(% colspan="1" %) 194 +((( 1628 1628 (% class="TableParagraph" %) 1629 1629 //getNumberOfEnrollments("//[string1]*//")// 1630 1630 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1634,6 +1634,9 @@ 1634 1634 ))) 1635 1635 |(% colspan="1" %)(% colspan="1" %) 1636 1636 ((( 204 +\\ 205 +)))|(% colspan="1" %)(% colspan="1" %) 206 +((( 1637 1637 (% class="TableParagraph" %) 1638 1638 //isGlobalAuthor(0)// 1639 1639 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1643,6 +1643,9 @@ 1643 1643 ))) 1644 1644 |(% colspan="1" %)(% colspan="1" %) 1645 1645 ((( 216 +\\ 217 +)))|(% colspan="1" %)(% colspan="1" %) 218 +((( 1646 1646 (% class="TableParagraph" %) 1647 1647 //isCourseAdministrator(0)// 1648 1648 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1652,6 +1652,9 @@ 1652 1652 ))) 1653 1653 |(% colspan="1" %)(% colspan="1" %) 1654 1654 ((( 228 +\\ 229 +)))|(% colspan="1" %)(% colspan="1" %) 230 +((( 1655 1655 (% class="TableParagraph" %) 1656 1656 //isCourseCoach(0)// 1657 1657 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1661,6 +1661,9 @@ 1661 1661 ))) 1662 1662 |(% colspan="1" %)(% colspan="1" %) 1663 1663 ((( 240 +\\ 241 +)))|(% colspan="1" %)(% colspan="1" %) 242 +((( 1664 1664 (% class="TableParagraph" %) 1665 1665 //isGuest(0)// 1666 1666 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1670,6 +1670,9 @@ 1670 1670 ))) 1671 1671 |(% colspan="1" %)(% colspan="1" %) 1672 1672 ((( 252 +\\ 253 +)))|(% colspan="1" %)(% colspan="1" %) 254 +((( 1673 1673 (% class="TableParagraph" %) 1674 1674 //isExternalUser(0)// 1675 1675 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1679,6 +1679,9 @@ 1679 1679 ))) 1680 1680 |(% colspan="1" %)(% colspan="1" %) 1681 1681 ((( 264 +\\ 265 +)))|(% colspan="1" %)(% colspan="1" %) 266 +((( 1682 1682 (% class="TableParagraph" %) 1683 1683 //hasAttribute("//[AttrName]//","//[string]//")// 1684 1684 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1688,6 +1688,9 @@ 1688 1688 ))) 1689 1689 |(% colspan="1" %)(% colspan="1" %) 1690 1690 ((( 276 +\\ 277 +)))|(% colspan="1" %)(% colspan="1" %) 278 +((( 1691 1691 (% class="TableParagraph" %) 1692 1692 //isInAttribute("//[AttrName]//","//[substring]//")// 1693 1693 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1697,6 +1697,9 @@ 1697 1697 ))) 1698 1698 |(% colspan="1" %)(% colspan="1" %) 1699 1699 ((( 288 +\\ 289 +)))|(% colspan="1" %)(% colspan="1" %) 290 +((( 1700 1700 (% class="TableParagraph" %) 1701 1701 //getUserProperty("//[string]//")// 1702 1702 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1706,6 +1706,9 @@ 1706 1706 ))) 1707 1707 |(% colspan="1" %)(% colspan="1" %) 1708 1708 ((( 300 +\\ 301 +)))|(% colspan="1" %)(% colspan="1" %) 302 +((( 1709 1709 (% class="TableParagraph" %) 1710 1710 //getPassed("//[integer]//")// 1711 1711 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1715,6 +1715,9 @@ 1715 1715 ))) 1716 1716 |(% colspan="1" %)(% colspan="1" %) 1717 1717 ((( 312 +\\ 313 +)))|(% colspan="1" %)(% colspan="1" %) 314 +((( 1718 1718 (% class="TableParagraph" %) 1719 1719 //getScore("//[integer]//")// 1720 1720 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1724,39 +1724,52 @@ 1724 1724 ))) 1725 1725 |(% colspan="1" %)(% colspan="1" %) 1726 1726 ((( 324 +\\ 325 +)))|(% colspan="1" %)(% colspan="1" %) 326 +((( 1727 1727 (% class="TableParagraph" %) 1728 1728 //getAttempts("//[integer]//")// 1729 1729 )))|(% colspan="1" %)(% colspan="1" %) 1730 1730 ((( 1731 1731 (% class="TableParagraph" %) 1732 -Returns the number of completed attempts from the course element with the specified ID. Can be applied to course elements of the type Test, Self-test, Survey (possible return values 0 or 1), and Task (return value = number of submitted files). 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). 1733 1733 ))) 1734 1734 |(% colspan="1" %)(% colspan="1" %) 1735 1735 ((( 336 +\\ 337 +)))|(% colspan="1" %)(% colspan="1" %) 338 +((( 1736 1736 (% class="TableParagraph" %) 1737 1737 //getInitialEnrollmentDate("//[integer]//")// 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 Enrolmentcourse element with the specified ID.344 +Returns the date of the respective course participant's first-time enrolment from the course element //Enrolment// with the specified ID. 1742 1742 ))) 1743 1743 |(% colspan="1" %)(% colspan="1" %) 1744 1744 ((( 348 +\\ 349 +)))|(% colspan="1" %)(% colspan="1" %) 350 +((( 1745 1745 (% class="TableParagraph" %) 1746 1746 //getRecentEnrollmentDate("//[integer]//")// 1747 1747 )))|(% colspan="1" %)(% colspan="1" %) 1748 1748 ((( 1749 1749 (% class="TableParagraph" %) 1750 -Returns the date of the respective course participant's last enrolment from the Enrolmentcourse element with the specified ID.356 +Returns the date of the respective course participant's last enrolment from the course element //Enrolment// with the specified ID. 1751 1751 ))) 1752 1752 |((( 359 +\\ 360 +)))|((( 1753 1753 (% class="TableParagraph" %) 1754 1754 //getInitialCourseLaunchDate(0)// 1755 1755 )))|((( 1756 1756 (% class="TableParagraph" %) 1757 -Returns the date of the first -timecourse visit of the respective course participant.365 +Returns the date of the first course visit of the respective course participant. 1758 1758 ))) 1759 1759 |((( 368 +\\ 369 +)))|((( 1760 1760 (% class="TableParagraph" %) 1761 1761 //getRecentCourseLaunchDate(0)// 1762 1762 )))|((( ... ... @@ -1765,7 +1765,22 @@ 1765 1765 ))) 1766 1766 |(% colspan="1" %)(% colspan="1" %) 1767 1767 ((( 378 +\\ 379 +)))|(% colspan="1" %)(% colspan="1" %) 380 +((( 1768 1768 (% class="TableParagraph" %) 382 +//getRecentCourseLaunchDate(0)// 383 +)))|(% colspan="1" %)(% colspan="1" %) 384 +((( 385 +(% class="TableParagraph" %) 386 +Returns the date of the last course visit of the respective course participant. 387 +))) 388 +|(% colspan="1" %)(% colspan="1" %) 389 +((( 390 +\\ 391 +)))|(% colspan="1" %)(% colspan="1" %) 392 +((( 393 +(% class="TableParagraph" %) 1769 1769 //getPassedWithCourseId("//[integer-1]//","//[integer- 2]//")// 1770 1770 )))|(% colspan="1" %)(% colspan="1" %) 1771 1771 ((( ... ... @@ -1774,6 +1774,9 @@ 1774 1774 ))) 1775 1775 |(% colspan="1" %)(% colspan="1" %) 1776 1776 ((( 402 +\\ 403 +)))|(% colspan="1" %)(% colspan="1" %) 404 +((( 1777 1777 (% class="TableParagraph" %) 1778 1778 //getScoreWithCourseId("//[integer-1]//","//[integer-2]//")// 1779 1779 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1783,12 +1783,17 @@ 1783 1783 ))) 1784 1784 |(% colspan="1" %)(% colspan="1" %) 1785 1785 ((( 414 +\\ 415 +)))|(% colspan="1" %)(% colspan="1" %) 416 +((( 1786 1786 //getMarkWithCourseId(" //[integer-1]//","//[integer-2]//")// 1787 1787 )))|(% colspan="1" %)(% colspan="1" %) 1788 1788 ((( 1789 -Returns the markfrom the course element with theID=[integer-2] of the coursewith the ID=[integer-1].420 +Returns the grade from the course element with the with the ID=[integer-1]. 1790 1790 ))) 1791 1791 |((( 423 +\\ 424 +)))|((( 1792 1792 (% class="TableParagraph" %) 1793 1793 //hasEvaluationCompleted("//KB-ID//")// 1794 1794 )))|((( ... ... @@ -1796,6 +1796,8 @@ 1796 1796 Returns TRUE for all users who have successfully completed the specified course element. 1797 1797 ))) 1798 1798 |((( 432 +\\ 433 +)))|((( 1799 1799 (% class="TableParagraph" %) 1800 1800 //getNumberOfEnrollments("//[string1]*//")// 1801 1801 )))|((( ... ... @@ -1803,23 +1803,31 @@ 1803 1803 Returns TRUE, when the configured number of learning group members is reached in the learning area (string1). 1804 1804 ))) 1805 1805 |((( 441 +\\ 442 +)))|((( 1806 1806 (% class="TableParagraph" %) 1807 1807 //getOnyxTestOutcome("//[string1]//","//[string2]//")// 1808 1808 )))|((( 1809 1809 (% class="TableParagraph" %) 1810 -Returns from the ONYX test course element with the specified ID (string1) and the specified output variable (string2) the value of this variable. The return valuewillbea number.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. 1811 1811 ))) 1812 1812 |(% colspan="1" %)(% colspan="1" %) 1813 1813 ((( 451 +\\ 452 +)))|(% colspan="1" %)(% colspan="1" %) 453 +((( 1814 1814 (% class="TableParagraph" %) 1815 1815 //getOnyxTestOutcomeZK("//[string1]//","//[string2]//")// 1816 1816 )))|(% colspan="1" %)(% colspan="1" %) 1817 1817 ((( 1818 1818 (% class="TableParagraph" %) 1819 -Returns from the ONYX test course element with the specified ID (string1) and the specified output variable (string2) the value of this variable. The return valuewillbea string.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. 1820 1820 ))) 1821 1821 |(% colspan="1" %)(% colspan="1" %) 1822 1822 ((( 463 +\\ 464 +)))|(% colspan="1" %)(% colspan="1" %) 465 +((( 1823 1823 (% class="TableParagraph" %) 1824 1824 //getProgress(//"[integer]"//)// 1825 1825 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1829,6 +1829,9 @@ 1829 1829 ))) 1830 1830 |(% colspan="1" %)(% colspan="1" %) 1831 1831 ((( 475 +\\ 476 +)))|(% colspan="1" %)(% colspan="1" %) 477 +((( 1832 1832 (% class="TableParagraph" %) 1833 1833 //isPasswordConfirmed("//[string]") 1834 1834 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1837,10 +1837,13 @@ 1837 1837 Returns TRUE after entering the correct password (string1). 1838 1838 1839 1839 (% class="TableParagraph" %) 1840 -Can only be used with course elements thatallowa password restriction even in simple mode.486 +Can only be used with course elements which offer a password restriction even in simple mode. 1841 1841 ))) 1842 1842 |(% colspan="1" %)(% colspan="1" %) 1843 1843 ((( 490 +\\ 491 +)))|(% colspan="1" %)(% colspan="1" %) 492 +((( 1844 1844 (% class="TableParagraph" %) 1845 1845 //comesFrom("//[string]//")// 1846 1846 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1848,13 +1848,10 @@ 1848 1848 (% class="TableParagraph" %) 1849 1849 Returns TRUE if the user has a linked account to OLAT with the specified system ID. 1850 1850 ))) 1851 -|(% rowspan="4" %)(%rowspan="4" %)500 +|(% colspan="1" %)(% colspan="1" %) 1852 1852 ((( 1853 1853 (% class="TableParagraph" %) 1854 1854 **Units** 1855 - 1856 - 1857 -\\\\ 1858 1858 )))|(% colspan="1" %)(% colspan="1" %) 1859 1859 ((( 1860 1860 (% class="TableParagraph" %) ... ... @@ -1866,16 +1866,21 @@ 1866 1866 ))) 1867 1867 |(% colspan="1" %)(% colspan="1" %) 1868 1868 ((( 515 +\\ 516 +)))|(% colspan="1" %)(% colspan="1" %) 517 +((( 1869 1869 (% class="TableParagraph" %) 1870 1870 //h// 1871 1871 )))|(% colspan="1" %)(% colspan="1" %) 1872 1872 ((( 1873 1873 (% class="TableParagraph" %) 1874 -Hours// 1875 -// 523 +//h// 1876 1876 ))) 1877 1877 |(% colspan="1" %)(% colspan="1" %) 1878 1878 ((( 527 +\\ 528 +)))|(% colspan="1" %)(% colspan="1" %) 529 +((( 1879 1879 (% class="TableParagraph" %) 1880 1880 //w// 1881 1881 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1885,6 +1885,9 @@ 1885 1885 ))) 1886 1886 |(% colspan="1" %)(% colspan="1" %) 1887 1887 ((( 539 +\\ 540 +)))|(% colspan="1" %)(% colspan="1" %) 541 +((( 1888 1888 (% class="TableParagraph" %) 1889 1889 //m// 1890 1890 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1892,13 +1892,10 @@ 1892 1892 (% class="TableParagraph" %) 1893 1893 Months 1894 1894 ))) 1895 -|(% rowspan="9" %)(%rowspan="9" %)549 +|(% colspan="1" %)(% colspan="1" %) 1896 1896 ((( 1897 1897 (% class="TableParagraph" %) 1898 1898 **Operators** 1899 - 1900 - 1901 -\\\\\\\\\\\\\\ 1902 1902 )))|(% colspan="1" %)(% colspan="1" %) 1903 1903 ((( 1904 1904 (% class="TableParagraph" %) ... ... @@ -1906,37 +1906,47 @@ 1906 1906 )))|(% colspan="1" %)(% colspan="1" %) 1907 1907 ((( 1908 1908 (% class="TableParagraph" %) 1909 - Equal to560 +equal to 1910 1910 ))) 1911 1911 |((( 563 +\\ 564 +)))|((( 1912 1912 (% class="TableParagraph" %) 1913 1913 ~> 1914 1914 )))|((( 1915 1915 (% class="TableParagraph" %) 1916 - Greater than569 +greater than 1917 1917 ))) 1918 1918 |((( 572 +\\ 573 +)))|((( 1919 1919 (% class="TableParagraph" %) 1920 1920 < 1921 1921 )))|((( 1922 1922 (% class="TableParagraph" %) 1923 - Less than578 +less than 1924 1924 ))) 1925 1925 |((( 581 +\\ 582 +)))|((( 1926 1926 (% class="TableParagraph" %) 1927 1927 ~>= 1928 1928 )))|((( 1929 1929 (% class="TableParagraph" %) 1930 - Greater than or equal to587 +greater than or equal to 1931 1931 ))) 1932 1932 |((( 590 +\\ 591 +)))|((( 1933 1933 (% class="TableParagraph" %) 1934 1934 <= 1935 1935 )))|((( 1936 1936 (% class="TableParagraph" %) 1937 - Less than or equal to596 +less than or equal to 1938 1938 ))) 1939 1939 |((( 599 +\\ 600 +)))|((( 1940 1940 (% class="TableParagraph" %) 1941 1941 * 1942 1942 )))|((( ... ... @@ -1945,6 +1945,9 @@ 1945 1945 ))) 1946 1946 |(% colspan="1" %)(% colspan="1" %) 1947 1947 ((( 609 +\\ 610 +)))|(% colspan="1" %)(% colspan="1" %) 611 +((( 1948 1948 (% class="TableParagraph" %) 1949 1949 / 1950 1950 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1954,6 +1954,9 @@ 1954 1954 ))) 1955 1955 |(% colspan="1" %)(% colspan="1" %) 1956 1956 ((( 621 +\\ 622 +)))|(% colspan="1" %)(% colspan="1" %) 623 +((( 1957 1957 (% class="TableParagraph" %) 1958 1958 + 1959 1959 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1963,6 +1963,9 @@ 1963 1963 ))) 1964 1964 |(% colspan="1" %)(% colspan="1" %) 1965 1965 ((( 633 +\\ 634 +)))|(% colspan="1" %)(% colspan="1" %) 635 +((( 1966 1966 (% class="TableParagraph" %) 1967 1967 - 1968 1968 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -1970,13 +1970,9 @@ 1970 1970 (% class="TableParagraph" %) 1971 1971 Subtraction 1972 1972 ))) 1973 -|(% rowspan="3" %)(% rowspan="3" %) 1974 -((( 643 +|((( 1975 1975 (% class="TableParagraph" %) 1976 1976 **Booleans** 1977 - 1978 - 1979 -\\ 1980 1980 )))|((( 1981 1981 (% class="TableParagraph" %) 1982 1982 & ... ... @@ -1985,6 +1985,8 @@ 1985 1985 Logical AND 1986 1986 ))) 1987 1987 |((( 654 +\\ 655 +)))|((( 1988 1988 (% class="TableParagraph" %) 1989 1989 ~| 1990 1990 )))|((( ... ... @@ -1992,6 +1992,8 @@ 1992 1992 Logical OR 1993 1993 ))) 1994 1994 |((( 663 +\\ 664 +)))|((( 1995 1995 (% class="TableParagraph" %) 1996 1996 ! 1997 1997 )))|((( ... ... @@ -1999,7 +1999,163 @@ 1999 1999 Logical NOT 2000 2000 ))) 2001 2001 {{/expand}} 2002 -{{/layout-cell}} 2003 -{{/layout-section}} 2004 -{{/layout}} 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 +|((( 691 +(% class="TableParagraph" %) 692 +isGuest(0) or isGuest(0)=1 or isGuest(0)=true 693 +)))|((( 694 +(% class="TableParagraph" %) 695 +Only guests have access to the course element. 696 +))) 697 +|((( 698 +(% class="TableParagraph" %) 699 +inLearningGroup("Beginners") = 0 700 +)))|((( 701 +(% class="TableParagraph" %) 702 +With the exception of the group //«Beginners»,// the course element is visible to all course participants. 703 +))) 704 +|((( 705 +(% class="TableParagraph" %) 706 +(now >= date("22.03.2017 12:00")) & (now <= date("23.08.2017 18:00")) | inLearningGroup("Supervisors") 707 +)))|((( 708 +(% class="TableParagraph" %) 709 +The course element will be visible to all course participants from 22.03.2017 to 23.08.2017. For the members of the learning group //«Supervisors», //in contrast, it will be visible// //at any time//.// 710 +))) 711 +|((( 712 +(% class="TableParagraph" %) 713 +(now >= date("03.09.2017 00:00")) & (now <= date("13.10.2017 00:00")) & inRightGroup("Assessors")| isUser("Author") 714 +)))|((( 715 +(% class="TableParagraph" %) 716 +The course element will be visible to all course participants of the right group //«Assessors»// from 03.09.2017 to 13.10.2017. For the person with the user name //«Author», //in contrast, it will be visible at any time. 717 +))) 718 +|(% colspan="1" %)(% colspan="1" %) 719 +((( 720 +(% class="TableParagraph" %) 721 +isInAttribute("surname","Mue") 722 +)))|(% colspan="1" %)(% colspan="1" %) 723 +((( 724 +(% class="TableParagraph" %) 725 +Returns TRUE for all persons whose attribute //surname// contains// //the letter sequence "Mue". It returns TRUE e.g. for the value "Mueller" or "Muehlebacher". 726 +))) 727 +|(% colspan="1" %)(% colspan="1" %) 728 +((( 729 +(% class="TableParagraph" %) 730 +(getUserProperty("orgUnit") = "Marketing") 731 +)))|(% colspan="1" %)(% colspan="1" %) 732 +((( 733 +(% class="TableParagraph" %) 734 +Checks whether a person is in the organisation unit "Marketing". This is for example useful if the data are automatically transferred from LDAP. 735 +))) 736 +|(% colspan="1" %)(% colspan="1" %) 737 +((( 738 +(% class="TableParagraph" %) 739 +(getPassed("69742969114730") | getPassed("69742969115733") | getPassed("69742969118009")) * 10 740 +)))|(% colspan="1" %)(% colspan="1" %) 741 +((( 742 +(% class="TableParagraph" %) 743 +This rule is set in the tab //«Points» //-> //«Process points»// of the course element //Structure//. The course element //Structure //shows 10 points if any of the tests (course element IDs "69742969114730", "69742969115733", or "69742969118009") has been passed, otherwise it will show 0 points. 744 +))) 745 +|(% colspan="1" %)(% colspan="1" %) 746 +((( 747 +(getScore("69742969114730") + getScore("69742969115733") + getScore("69742969118009")) >= 140 | getPassed("69978845384688") 748 +)))|(% colspan="1" %)(% colspan="1" %) 749 +((( 750 +(% class="TableParagraph" %) 751 +This rule is set in the tab //«Points» //-> 752 + 753 +//«Passed if»// of the course element //Structure//. The course element //Structure //shows a //"passed"// if a minimum of 140 points is achieved in all tests together or if a //«passed» //is set manually// //(course element //Assessment //with the ID "69978845384688"). 754 +))) 755 +|(% colspan="1" %)(% colspan="1" %) 756 +((( 757 +(% class="TableParagraph" %) 758 +getAttempts("70323786958847") > 0 759 +)))|(% colspan="1" %)(% colspan="1" %) 760 +((( 761 +(% class="TableParagraph" %) 762 +Returns TRUE as soon as the course participant has completed the test with the specified ID for the first time. 763 +))) 764 +|((( 765 +(% class="TableParagraph" %) 766 +getAttempts("70323524635734") <= 3 767 +)))|((( 768 +(% class="TableParagraph" %) 769 +Returns FALSE as soon as the course participant has saved more than 3 files in the drop box of the course element //Task//. 770 +))) 771 +|((( 772 +(% class="TableParagraph" %) 773 +getInitialEnrollmentDate("70323786958847") <= date("26.5.2017 18:00") 774 +)))|((( 775 +(% class="TableParagraph" %) 776 +Returns TRUE for those course participants who have enrolled in one of the available groups before 6 p.m. on May 26, 2017 via the course element //Enrolment// with a specified ID. 777 +))) 778 +|(% colspan="1" %)(% colspan="1" %) 779 +((( 780 +(% class="TableParagraph" %) 781 +getInitialEnrollmentDate("70323786958847") + 2h > now 782 +)))|(% colspan="1" %)(% colspan="1" %) 783 +((( 784 +(% class="TableParagraph" %) 785 +Returns TRUE within two hours from the time of enrolment for those course participants who have enrolled in one of the available groups via the course element //Enrolment// with a specified ID. In this way, it can be ensured that each course participant can only e.g. process a script during a certain period of time. 786 +))) 787 +|(% colspan="1" %)(% colspan="1" %) 788 +((( 789 +(% class="TableParagraph" %) 790 +(getInitialCourseLaunchDate(0) >= never) | (getInitialCourseLaunchDate(0) + 2h > now) 791 +)))|(% colspan="1" %)(% colspan="1" %) 792 +((( 793 +(% class="TableParagraph" %) 794 +Returns TRUE if the course participant has not yet visited the course, or during the first two hours of the first course visit. In this way, it can be ensured that each course participant can only see the course for a certain period of time. 795 +))) 796 +|(% colspan="1" %)(% colspan="1" %) 797 +((( 798 +(% class="TableParagraph" %) 799 +(getRecentCourseLaunchDate(0) + 10min) > now 800 +)))|(% colspan="1" %)(% colspan="1" %) 801 +((( 802 +(% class="TableParagraph" %) 803 +Returns TRUE if the user has been active in the course for more than 10 minutes. 804 +))) 805 +|((( 806 +(% class="TableParagraph" %) 807 +getOnyxTestOutcome("84692289655276","SCORE") >= 10 808 +)))|((( 809 +(% class="TableParagraph" %) 810 +Returns TRUE if the user has reached at least 10 points. 811 +))) 812 +|((( 813 +(% class="TableParagraph" %) 814 +getOnyxTestOutcomeZK("84389429397045","PASS") ="true" 815 +)))|((( 816 +(% class="TableParagraph" %) 817 +Returns TRUE if the user has passed the test. 818 +))) 819 +|((( 820 +(% class="TableParagraph" %) 821 +getMark("84692289655276") > 4 822 +)))|((( 823 +(% class="TableParagraph" %) 824 +Returns TRUE if the user's grade for the specified course element is better than 4. 825 +))) 826 + 827 +{{note title="Attention!"}} 828 +Please note that the above-mentioned course element IDs are just examples. When you create a course, you need to reference the ID of your own course. 829 +{{/note}} 830 +{{/expand}} 2005 2005 {{/sv-translation}}
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 - 5144255181 +374047899 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/LMS/pages/ 514425518/ExpertMode1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/LMS/pages/374047899/Expertenregeln