Änderungen von Dokument Expertenmodus

Zuletzt geändert von Carina Enke am 16.01.2024

Von Version 97.1
bearbeitet von Carina Enke
am 18.06.2020
Änderungskommentar: Mittels Scroll Versions veröffentlicht aus dem Bereich LMSintern und Version 12.4.
Auf Version 92.1
bearbeitet von Carina Enke
am 10.06.2020
Änderungskommentar: Mittels Scroll Versions veröffentlicht aus dem Bereich LMSintern und Version 13.2.

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -3,829 +3,89 @@
3 3  {{layout-section ac:type="single"}}
4 4  {{layout-cell}}
5 5  \\
6 -{{/layout-cell}}
7 -{{/layout-section}}
8 8  
9 -{{layout-section ac:type="single"}}
10 -{{layout-cell}}
11 -
12 -
13 -{{children/}}
14 -{{/layout-cell}}
15 -{{/layout-section}}
16 -{{/layout}}
17 -{{/sv-translation}}
18 -
19 -{{sv-translation language="en"}}
20 -{{expand title="Display expert syntax"}}
21 -=== Expert syntax ===
22 -
7 +{{details}}
23 23  (% class="wrapped" %)
24 24  |=(((
25 -Type
26 -)))|=(((
27 -Syntax
28 -)))|=(((
29 -Description
30 -)))
31 -|(((
32 -(% class="TableParagraph" %)
33 -**Constants**
10 +Verantwortlicher
34 34  )))|(((
35 -(% class="TableParagraph" %)
36 -//TRUE //or //1//
37 -)))|(((
38 -(% class="TableParagraph" %)
39 -True
40 -)))
41 -|(((
42 42  \\
43 -)))|(((
44 -(% class="TableParagraph" %)
45 -//FALSE //or //0//
46 -)))|(((
47 -(% class="TableParagraph" %)
48 -False
49 49  )))
50 -|(((
51 -(% class="TableParagraph" %)
52 -**Variable**
53 -)))|(((
54 -(% class="TableParagraph" %)
55 -//now//
56 -)))|(((
57 -(% class="TableParagraph" %)
58 -Current server system time
59 -)))
60 -|(((
61 -(% class="TableParagraph" %)
62 -**Functions**
63 -)))|(((
64 -(% class="TableParagraph" %)
65 -//date("[date]")//
66 -)))|(((
67 -(% class="TableParagraph" %)
68 -Query date
69 -)))
70 -|(% colspan="1" %)(% colspan="1" %)
14 +|=(% colspan="1" %)(% colspan="1" %)
71 71  (((
72 -\\
73 -)))|(% colspan="1" %)(% colspan="1" %)
16 +Status
17 +)))|(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %)(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %)
74 74  (((
75 -(% class="TableParagraph" %)
76 -//inLearningGroup("//[string]//")//
77 -)))|(% colspan="1" %)(% colspan="1" %)
19 +(% class="content-wrapper" %)
78 78  (((
79 -(% class="TableParagraph" %)
80 -Returns TRUE for all members of the learning group with the title [string] of the current course.
81 -)))
82 -|(% colspan="1" %)(% colspan="1" %)
83 -(((
84 -\\
85 -)))|(% colspan="1" %)(% colspan="1" %)
86 -(((
87 -(% class="TableParagraph" %)
88 -//inLearningGroup("//[string1]//","//[string2]//")//
89 -)))|(% colspan="1" %)(% colspan="1" %)
90 -(((
91 -(% class="TableParagraph" %)
92 -Returns TRUE for all members of the specified learning group [string1] of the course with the specified course ID=[string2].
93 -)))
94 -|(% colspan="1" %)(% colspan="1" %)
95 -(((
96 -\\
97 -)))|(% colspan="1" %)(% colspan="1" %)
98 -(((
99 -(% class="TableParagraph" %)
100 -//inLearningGroupWaitingList("//[string]//")//
101 -)))|(% colspan="1" %)(% colspan="1" %)
102 -(((
103 -(% class="TableParagraph" %)
104 -Returns TRUE for all users on the waiting list of the learning group [string] of the current course.
105 -)))
106 -|(% colspan="1" %)(% colspan="1" %)
107 -(((
108 -\\
109 -)))|(% colspan="1" %)(% colspan="1" %)
110 -(((
111 -(% class="TableParagraph" %)
112 -//inLearningGroupWaitingList("//[string1]//","//[string2]//"// //)//
113 -)))|(% colspan="1" %)(% colspan="1" %)
114 -(((
115 -(% class="TableParagraph" %)
116 -Returns TRUE for all users on the waiting list of the learning group [string1] of the course with the specified course ID=[string2].
117 -)))
118 -|(% colspan="1" %)(% colspan="1" %)
119 -(((
120 -\\
121 -)))|(% colspan="1" %)(% colspan="1" %)
122 -(((
123 -(% class="TableParagraph" %)
124 -//inRightGroup("//[string]//")//
125 -)))|(% colspan="1" %)(% colspan="1" %)
126 -(((
127 -(% class="TableParagraph" %)
128 -Returns TRUE for all members of the right group [string].
129 -)))
130 -|(% colspan="1" %)(% colspan="1" %)
131 -(((
132 -\\
133 -)))|(% colspan="1" %)(% colspan="1" %)
134 -(((
135 -(% class="TableParagraph" %)
136 -//isLearningGroupFull("//[string]//")//
137 -)))|(% colspan="1" %)(% colspan="1" %)
138 -(((
139 -(% class="TableParagraph" %)
140 -Returns the Boolean TRUE (=full) or FALSE (=not full) for the specified learning group in the current course.
141 -)))
142 -|(% colspan="1" %)(% colspan="1" %)
143 -(((
144 -\\
145 -)))|(% colspan="1" %)(% colspan="1" %)
146 -(((
147 -(% class="TableParagraph" %)
148 -//isLearningGroupFull("//[string1]//","//[string2]//")//
149 -)))|(% colspan="1" %)(% colspan="1" %)
150 -(((
151 -(% class="TableParagraph" %)
152 -Returns the Boolean TRUE (=full) or FALSE (=not full) for the specified learning group=[string1] of the course with the course ID=[string2].
153 -)))
154 -|(% colspan="1" %)(% colspan="1" %)
155 -(((
156 -\\
157 -)))|(% colspan="1" %)(% colspan="1" %)
158 -(((
159 -(% class="TableParagraph" %)
160 -//isUser("//[string]//")//
161 -)))|(% colspan="1" %)(% colspan="1" %)
162 -(((
163 -(% class="TableParagraph" %)
164 -Returns TRUE for the user with the user name [string].
165 -)))
166 -|(% colspan="1" %)(% colspan="1" %)
167 -(((
168 -\\
169 -)))|(% colspan="1" %)(% colspan="1" %)
170 -(((
171 -(% class="TableParagraph" %)
172 -//inLearningArea("//[string]//")//
173 -)))|(% colspan="1" %)(% colspan="1" %)
174 -(((
175 -(% class="TableParagraph" %)
176 -Returns TRUE for all members of the groups in the learning area [string] of the current course.
177 -)))
178 -|(% colspan="1" %)(% colspan="1" %)
179 -(((
180 -\\
181 -)))|(% colspan="1" %)(% colspan="1" %)
182 -(((
183 -(% class="TableParagraph" %)
184 -//inLearningArea("//[string1]//","//[string2]//")//
185 -)))|(% colspan="1" %)(% colspan="1" %)
186 -(((
187 -(% class="TableParagraph" %)
188 -Returns TRUE for all members of the groups in the specified learning area [string1] of the course with the specified course ID=[string2].
189 -)))
190 -|(% colspan="1" %)(% colspan="1" %)
191 -(((
192 -\\
193 -)))|(% colspan="1" %)(% colspan="1" %)
194 -(((
195 -(% class="TableParagraph" %)
196 -//getNumberOfEnrollments("//[string1]*//")//
197 -)))|(% colspan="1" %)(% colspan="1" %)
198 -(((
199 -(% class="TableParagraph" %)
200 -Returns TRUE, when the configured number of learning group members is reached in the learning area (string1).
201 -)))
202 -|(% colspan="1" %)(% colspan="1" %)
203 -(((
204 -\\
205 -)))|(% colspan="1" %)(% colspan="1" %)
206 -(((
207 -(% class="TableParagraph" %)
208 -//isGlobalAuthor(0)//
209 -)))|(% colspan="1" %)(% colspan="1" %)
210 -(((
211 -(% class="TableParagraph" %)
212 -Returns TRUE for all members of the OPAL author group.
213 -)))
214 -|(% colspan="1" %)(% colspan="1" %)
215 -(((
216 -\\
217 -)))|(% colspan="1" %)(% colspan="1" %)
218 -(((
219 -(% class="TableParagraph" %)
220 -//isCourseAdministrator(0)//
221 -)))|(% colspan="1" %)(% colspan="1" %)
222 -(((
223 -(% class="TableParagraph" %)
224 -Returns TRUE for all owners of your course (learning resource).
225 -)))
226 -|(% colspan="1" %)(% colspan="1" %)
227 -(((
228 -\\
229 -)))|(% colspan="1" %)(% colspan="1" %)
230 -(((
231 -(% class="TableParagraph" %)
232 -//isCourseCoach(0)//
233 -)))|(% colspan="1" %)(% colspan="1" %)
234 -(((
235 -(% class="TableParagraph" %)
236 -Returns TRUE for all users who supervise a learning group.
237 -)))
238 -|(% colspan="1" %)(% colspan="1" %)
239 -(((
240 -\\
241 -)))|(% colspan="1" %)(% colspan="1" %)
242 -(((
243 -(% class="TableParagraph" %)
244 -//isGuest(0)//
245 -)))|(% colspan="1" %)(% colspan="1" %)
246 -(((
247 -(% class="TableParagraph" %)
248 -Returns TRUE for all users who visit OPAL as guests.
249 -)))
250 -|(% colspan="1" %)(% colspan="1" %)
251 -(((
252 -\\
253 -)))|(% colspan="1" %)(% colspan="1" %)
254 -(((
255 -(% class="TableParagraph" %)
256 -//isExternalUser(0)//
257 -)))|(% colspan="1" %)(% colspan="1" %)
258 -(((
259 -(% class="TableParagraph" %)
260 -Returns TRUE for everyone who uses OPAL as an external user.
261 -)))
262 -|(% colspan="1" %)(% colspan="1" %)
263 -(((
264 -\\
265 -)))|(% colspan="1" %)(% colspan="1" %)
266 -(((
267 -(% class="TableParagraph" %)
268 -//hasAttribute("//[AttrName]//","//[string]//")//
269 -)))|(% colspan="1" %)(% colspan="1" %)
270 -(((
271 -(% class="TableParagraph" %)
272 -Returns TRUE if [string] matches the value of the AAI attribute [AttrName] of the respective user.
273 -)))
274 -|(% colspan="1" %)(% colspan="1" %)
275 -(((
276 -\\
277 -)))|(% colspan="1" %)(% colspan="1" %)
278 -(((
279 -(% class="TableParagraph" %)
280 -//isInAttribute("//[AttrName]//","//[substring]//")//
281 -)))|(% colspan="1" %)(% colspan="1" %)
282 -(((
283 -(% class="TableParagraph" %)
284 -Returns TRUE if [substring] matches a portion of the value of the AAI attribute [AttrName] of the respective user.
285 -)))
286 -|(% colspan="1" %)(% colspan="1" %)
287 -(((
288 -\\
289 -)))|(% colspan="1" %)(% colspan="1" %)
290 -(((
291 -(% class="TableParagraph" %)
292 -//getUserProperty("//[string]//")//
293 -)))|(% colspan="1" %)(% colspan="1" %)
294 -(((
295 -(% class="TableParagraph" %)
296 -Returns the specified user property of the executing user.
297 -)))
298 -|(% colspan="1" %)(% colspan="1" %)
299 -(((
300 -\\
301 -)))|(% colspan="1" %)(% colspan="1" %)
302 -(((
303 -(% class="TableParagraph" %)
304 -//getPassed("//[integer]//")//
305 -)))|(% colspan="1" %)(% colspan="1" %)
306 -(((
307 -(% class="TableParagraph" %)
308 -Returns the Boolean TRUE (=passed) or FALSE (=not passed) from the course element with the specified ID.
309 -)))
310 -|(% colspan="1" %)(% colspan="1" %)
311 -(((
312 -\\
313 -)))|(% colspan="1" %)(% colspan="1" %)
314 -(((
315 -(% class="TableParagraph" %)
316 -//getScore("//[integer]//")//
317 -)))|(% colspan="1" %)(% colspan="1" %)
318 -(((
319 -(% class="TableParagraph" %)
320 -Returns the number of points from the course element with the specified ID.
321 -)))
322 -|(% colspan="1" %)(% colspan="1" %)
323 -(((
324 -\\
325 -)))|(% colspan="1" %)(% colspan="1" %)
326 -(((
327 -(% class="TableParagraph" %)
328 -//getAttempts("//[integer]//")//
329 -)))|(% colspan="1" %)(% colspan="1" %)
330 -(((
331 -(% class="TableParagraph" %)
332 -Returns the number of completed attempts from the course element with the specified ID. Can be applied to course elements of the type //Test, Self-test//, //Survey //(possible return values 0 or 1), and //Task //(return value = number of submitted files).
333 -)))
334 -|(% colspan="1" %)(% colspan="1" %)
335 -(((
336 -\\
337 -)))|(% colspan="1" %)(% colspan="1" %)
338 -(((
339 -(% class="TableParagraph" %)
340 -//getInitialEnrollmentDate("//[integer]//")//
341 -)))|(% colspan="1" %)(% colspan="1" %)
342 -(((
343 -(% class="TableParagraph" %)
344 -Returns the date of the respective course participant's first-time enrolment from the course element //Enrolment// with the specified ID.
345 -)))
346 -|(% colspan="1" %)(% colspan="1" %)
347 -(((
348 -\\
349 -)))|(% colspan="1" %)(% colspan="1" %)
350 -(((
351 -(% class="TableParagraph" %)
352 -//getRecentEnrollmentDate("//[integer]//")//
353 -)))|(% colspan="1" %)(% colspan="1" %)
354 -(((
355 -(% class="TableParagraph" %)
356 -Returns the date of the respective course participant's last enrolment from the course element //Enrolment// with the specified ID.
357 -)))
358 -|(((
359 -\\
360 -)))|(((
361 -(% class="TableParagraph" %)
362 -//getInitialCourseLaunchDate(0)//
363 -)))|(((
364 -(% class="TableParagraph" %)
365 -Returns the date of the first course visit of the respective course participant.
366 -)))
367 -|(((
368 -\\
369 -)))|(((
370 -(% class="TableParagraph" %)
371 -//getRecentCourseLaunchDate(0)//
372 -)))|(((
373 -(% class="TableParagraph" %)
374 -Returns the date of the last course visit of the respective course participant.
375 -)))
376 -|(% colspan="1" %)(% colspan="1" %)
377 -(((
378 -\\
379 -)))|(% colspan="1" %)(% colspan="1" %)
380 -(((
381 -(% 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" %)
394 -//getPassedWithCourseId("//[integer-1]//","//[integer- 2]//")//
395 -)))|(% colspan="1" %)(% colspan="1" %)
396 -(((
397 -(% class="TableParagraph" %)
398 -Returns the Boolean TRUE (=passed) or FALSE (=not passed) from the course element with the ID=[integer-2] of the course with the ID=[integer-1].
399 -)))
400 -|(% colspan="1" %)(% colspan="1" %)
401 -(((
402 -\\
403 -)))|(% colspan="1" %)(% colspan="1" %)
404 -(((
405 -(% class="TableParagraph" %)
406 -//getScoreWithCourseId("//[integer-1]//","//[integer-2]//")//
407 -)))|(% colspan="1" %)(% colspan="1" %)
408 -(((
409 -(% class="TableParagraph" %)
410 -Returns the number of points from the course element with the ID=[integer-2] of the course with the ID=[integer-1].
411 -)))
412 -|(% colspan="1" %)(% colspan="1" %)
413 -(((
414 -\\
415 -)))|(% colspan="1" %)(% colspan="1" %)
416 -(((
417 -//getMarkWithCourseId(" //[integer-1]//","//[integer-2]//")//
418 -)))|(% colspan="1" %)(% colspan="1" %)
419 -(((
420 -Returns the grade from the course element with the with the ID=[integer-1].
421 -)))
422 -|(((
423 -\\
424 -)))|(((
425 -(% class="TableParagraph" %)
426 -//hasEvaluationCompleted("//KB-ID//")//
427 -)))|(((
428 -(% class="TableParagraph" %)
429 -Returns TRUE for all users who have successfully completed the specified course element.
430 -)))
431 -|(((
432 -\\
433 -)))|(((
434 -(% class="TableParagraph" %)
435 -//getNumberOfEnrollments("//[string1]*//")//
436 -)))|(((
437 -(% class="TableParagraph" %)
438 -Returns TRUE, when the configured number of learning group members is reached in the learning area (string1).
439 -)))
440 -|(((
441 -\\
442 -)))|(((
443 -(% class="TableParagraph" %)
444 -//getOnyxTestOutcome("//[string1]//","//[string2]//")//
445 -)))|(((
446 -(% class="TableParagraph" %)
447 -Returns the value of the output variable from the ONYX test course element with the specified ID (string1) and the specified output variable (string2). The return value is a number.
448 -)))
449 -|(% colspan="1" %)(% colspan="1" %)
450 -(((
451 -\\
452 -)))|(% colspan="1" %)(% colspan="1" %)
453 -(((
454 -(% class="TableParagraph" %)
455 -//getOnyxTestOutcomeZK("//[string1]//","//[string2]//")//
456 -)))|(% colspan="1" %)(% colspan="1" %)
457 -(((
458 -(% class="TableParagraph" %)
459 -Returns the value of the output variable from the ONYX test course element with the specified ID (string1) and the specified output variable (string2). The return value is a string.
460 -)))
461 -|(% colspan="1" %)(% colspan="1" %)
462 -(((
463 -\\
464 -)))|(% colspan="1" %)(% colspan="1" %)
465 -(((
466 -(% class="TableParagraph" %)
467 -//getProgress(//"[integer]"//)//
468 -)))|(% colspan="1" %)(% colspan="1" %)
469 -(((
470 -(% class="TableParagraph" %)
471 -Returns the progress from the course element with the specified ID as a numerical value between 0 and 100 (percent).
472 -)))
473 -|(% colspan="1" %)(% colspan="1" %)
474 -(((
475 -\\
476 -)))|(% colspan="1" %)(% colspan="1" %)
477 -(((
478 -(% class="TableParagraph" %)
479 -//isPasswordConfirmed("//[string]")
480 -)))|(% colspan="1" %)(% colspan="1" %)
481 -(((
482 -(% class="TableParagraph" %)
483 -Returns TRUE after entering the correct password (string1).
21 +{{sv-metadata type="workflow-status"/}}
484 484  
485 -(% class="TableParagraph" %)
486 -Can only be used with course elements which offer a password restriction even in simple mode.
23 +{{status colour="Green" title="Fertig"/}}
487 487  )))
488 -|(% colspan="1" %)(% colspan="1" %)
489 -(((
490 -\\
491 -)))|(% colspan="1" %)(% colspan="1" %)
492 -(((
493 -(% class="TableParagraph" %)
494 -//comesFrom("//[string]//")//
495 -)))|(% colspan="1" %)(% colspan="1" %)
496 -(((
497 -(% class="TableParagraph" %)
498 -Returns TRUE if the user has a linked account to OLAT with the specified system ID.
499 499  )))
500 -|(% colspan="1" %)(% colspan="1" %)
26 +|=(% colspan="1" %)(% colspan="1" %)
501 501  (((
502 -(% class="TableParagraph" %)
503 -**Units**
28 +Varianten
504 504  )))|(% colspan="1" %)(% colspan="1" %)
505 505  (((
506 -(% class="TableParagraph" %)
507 -//min//
508 -)))|(% colspan="1" %)(% colspan="1" %)
31 +(% class="content-wrapper" %)
509 509  (((
510 -(% class="TableParagraph" %)
511 -Minutes
33 +{{sv-metadata type="variants"/}}
512 512  )))
513 -|(% colspan="1" %)(% colspan="1" %)
514 -(((
515 -\\
516 -)))|(% colspan="1" %)(% colspan="1" %)
517 -(((
518 -(% class="TableParagraph" %)
519 -//h//
520 -)))|(% colspan="1" %)(% colspan="1" %)
521 -(((
522 -(% class="TableParagraph" %)
523 -//h//
524 524  )))
525 -|(% colspan="1" %)(% colspan="1" %)
36 +|=(% colspan="1" %)(% colspan="1" %)
526 526  (((
527 -\\
38 +Attribute
528 528  )))|(% colspan="1" %)(% colspan="1" %)
529 529  (((
530 -(% class="TableParagraph" %)
531 -//w//
532 -)))|(% colspan="1" %)(% colspan="1" %)
41 +(% class="content-wrapper" %)
533 533  (((
534 -(% class="TableParagraph" %)
535 -Weeks
43 +{{sv-metadata type="attributes"/}}
536 536  )))
537 -|(% colspan="1" %)(% colspan="1" %)
538 -(((
539 -\\
540 -)))|(% colspan="1" %)(% colspan="1" %)
541 -(((
542 -(% class="TableParagraph" %)
543 -//m//
544 -)))|(% colspan="1" %)(% colspan="1" %)
545 -(((
546 -(% class="TableParagraph" %)
547 -Months
548 548  )))
549 -|(% colspan="1" %)(% colspan="1" %)
46 +|=(% colspan="1" %)(% colspan="1" %)
550 550  (((
551 -(% class="TableParagraph" %)
552 -**Operators**
48 +Pagekey
553 553  )))|(% colspan="1" %)(% colspan="1" %)
554 554  (((
555 -(% class="TableParagraph" %)
556 -~=
557 -)))|(% colspan="1" %)(% colspan="1" %)
51 +(% class="content-wrapper" %)
558 558  (((
559 -(% class="TableParagraph" %)
560 -equal to
53 +{{sv-metadata type="pagekey"/}}
561 561  )))
562 -|(((
563 -\\
564 -)))|(((
565 -(% class="TableParagraph" %)
566 -~>
567 -)))|(((
568 -(% class="TableParagraph" %)
569 -greater than
570 570  )))
571 -|(((
572 -\\
573 -)))|(((
574 -(% class="TableParagraph" %)
575 -<
576 -)))|(((
577 -(% class="TableParagraph" %)
578 -less than
579 -)))
580 -|(((
581 -\\
582 -)))|(((
583 -(% class="TableParagraph" %)
584 -~>=
585 -)))|(((
586 -(% class="TableParagraph" %)
587 -greater than or equal to
588 -)))
589 -|(((
590 -\\
591 -)))|(((
592 -(% class="TableParagraph" %)
593 -<=
594 -)))|(((
595 -(% class="TableParagraph" %)
596 -less than or equal to
597 -)))
598 -|(((
599 -\\
600 -)))|(((
601 -(% class="TableParagraph" %)
602 -*
603 -)))|(((
604 -(% class="TableParagraph" %)
605 -Multiplication
606 -)))
607 -|(% colspan="1" %)(% colspan="1" %)
56 +|=(% colspan="1" %)(% colspan="1" %)
608 608  (((
609 -\\
58 +Übersetzung
610 610  )))|(% colspan="1" %)(% colspan="1" %)
611 611  (((
612 -(% class="TableParagraph" %)
613 -/
614 -)))|(% colspan="1" %)(% colspan="1" %)
61 +(% class="content-wrapper" %)
615 615  (((
616 -(% class="TableParagraph" %)
617 -Division
63 +{{status colour="Green" title="Fertig"/}}
618 618  )))
619 -|(% colspan="1" %)(% colspan="1" %)
620 -(((
621 -\\
622 -)))|(% colspan="1" %)(% colspan="1" %)
623 -(((
624 -(% class="TableParagraph" %)
625 -+
626 -)))|(% colspan="1" %)(% colspan="1" %)
627 -(((
628 -(% class="TableParagraph" %)
629 -Addition
630 630  )))
631 -|(% colspan="1" %)(% colspan="1" %)
66 +|=(% colspan="1" %)(% colspan="1" %)
632 632  (((
633 -\\
68 +TODOs
634 634  )))|(% colspan="1" %)(% colspan="1" %)
635 635  (((
636 -(% class="TableParagraph" %)
637 --
638 -)))|(% colspan="1" %)(% colspan="1" %)
639 -(((
640 -(% class="TableParagraph" %)
641 -Subtraction
71 +carina: De und En Inhalte aus Seite Freigabe von Kursen und Kursbausteinen übernommen
642 642  )))
643 -|(((
644 -(% class="TableParagraph" %)
645 -**Booleans**
646 -)))|(((
647 -(% class="TableParagraph" %)
648 -&
649 -)))|(((
650 -(% class="TableParagraph" %)
651 -Logical AND
652 -)))
653 -|(((
654 -\\
655 -)))|(((
656 -(% class="TableParagraph" %)
657 -~|
658 -)))|(((
659 -(% class="TableParagraph" %)
660 -Logical OR
661 -)))
662 -|(((
663 -\\
664 -)))|(((
665 -(% class="TableParagraph" %)
666 -!
667 -)))|(((
668 -(% class="TableParagraph" %)
669 -Logical NOT
670 -)))
671 -{{/expand}}
73 +{{/details}}
74 +{{/layout-cell}}
75 +{{/layout-section}}
672 672  
673 -{{expand title="Application examples of the expert syntax"}}
674 -=== Application examples ===
77 +{{layout-section ac:type="single"}}
78 +{{layout-cell}}
675 675  
676 -In the following section, you will find examples on how to use the expert syntax.
677 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).
81 +{{children/}}
82 +{{/layout-cell}}
83 +{{/layout-section}}
84 +{{/layout}}
85 +{{/sv-translation}}
680 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}}
87 +{{sv-translation language="en"}}
683 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 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}}
90 +{{children/}}
831 831  {{/sv-translation}}
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -347963782
1 +476775219
url
... ... @@ -1,1 +1,1 @@
1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/LMS/pages/347963782/Expertenregeln
1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/LMS/pages/476775219/Expertenregeln