Änderungen von Dokument Expertenmodus
Zuletzt geändert von Carina Enke am 26.11.2025
Von Version 201.1
bearbeitet von Carina Enke
am 24.05.2018
am 24.05.2018
Änderungskommentar:
Mittels Scroll Versions veröffentlicht aus dem Bereich LMSintern und Version 3.9.1.
Auf Version 184.1
bearbeitet von Carina Enke
am 06.11.2019
am 06.11.2019
Änderungskommentar:
Es gibt keinen Kommentar für diese Version
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 enmodus1 +Expert Mode - Inhalt
-
... ... @@ -1,12 +1,19 @@ 1 +{{sv-translation language="de"}} 1 1 {{layout}} 2 2 {{layout-section ac:type="single"}} 3 -{{layout-cell}}{{/layout-cell}} 4 +{{layout-cell}} 5 +\\ 6 +{{/layout-cell}} 4 4 {{/layout-section}} 5 5 6 6 {{layout-section ac:type="single"}} 7 7 {{layout-cell}} 11 +(% class="auto-cursor-target" %) 12 +\\ 13 + 8 8 {{expand title="Expertensyntax anzeigen"}} 9 -=== Expertensyntax === 15 +(% class="auto-cursor-target" %) 16 +\\ 10 10 11 11 |=((( 12 12 Typ ... ... @@ -38,7 +38,7 @@ 38 38 ((( 39 39 Momentane Server-Systemzeit 40 40 ))) 41 -|(% rowspan="3 8" %)(% rowspan="38" %)48 +|(% rowspan="37" %)(% rowspan="37" %) 42 42 ((( 43 43 **Funktionen** 44 44 )))|(% colspan="1" %)(% colspan="1" %) ... ... @@ -176,13 +176,6 @@ 176 176 ))) 177 177 |(% colspan="1" %)(% colspan="1" %) 178 178 ((( 179 -//isInAttribute("//[AttrName]//","//[substring]//")// 180 -)))|(% colspan="1" %)(% colspan="1" %) 181 -((( 182 -Gibt TRUE, wenn [substring] einem Teil des Wertes des AAI-Attributs [AttrName] des jeweiligen Benutzers entspricht. 183 -))) 184 -|(% colspan="1" %)(% colspan="1" %) 185 -((( 186 186 //getUserProperty("//[string]//")// 187 187 )))|(% colspan="1" %)(% colspan="1" %) 188 188 ((( ... ... @@ -418,7 +418,7 @@ 418 418 ))) 419 419 |(% colspan="1" %)(% colspan="1" %) 420 420 ((( 421 - 421 +\\ 422 422 )))|(% colspan="1" %)(% colspan="1" %) 423 423 ((( 424 424 ~| ... ... @@ -428,7 +428,7 @@ 428 428 ))) 429 429 |(% colspan="1" %)(% colspan="1" %) 430 430 ((( 431 - 431 +\\ 432 432 )))|(% colspan="1" %)(% colspan="1" %) 433 433 ((( 434 434 ! ... ... @@ -436,10 +436,16 @@ 436 436 ((( 437 437 Logisches NICHT 438 438 ))) 439 + 440 +(% class="auto-cursor-target" %) 441 +\\ 439 439 {{/expand}} 440 440 444 +(% class="auto-cursor-target" %) 445 +\\ 446 + 441 441 {{expand title="Anwendungsbeispiele zum Expertensyntax"}} 442 - ===Verwendungsbeispiele===448 +**Verwendungsbeispiele** 443 443 444 444 Nachfolgend sind Beispiele aufgeführt, die Ihnen zeigen, wie Sie den Expertensyntax verwenden können. 445 445 ... ... @@ -448,6 +448,9 @@ 448 448 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. 449 449 {{/info}} 450 450 457 +(% class="auto-cursor-target" %) 458 +\\ 459 + 451 451 |=((( 452 452 Beispiele für Regeln in den Tabs //«Sichtbarkeit»//, //«Zugang»// und //«Punkte»// (Struktur-Baustein) 453 453 )))|=((( ... ... @@ -562,11 +562,840 @@ 562 562 ((( 563 563 Gibt TRUE zurück, wenn die Note des Nutzers für den angegebenen Baustein besser als 4 ist. 564 564 ))) 574 +|(% colspan="1" %)(% colspan="1" %) 575 +((( 576 +getProgress("69742969114730")>=100 577 +)))|(% colspan="1" %)(% colspan="1" %) 578 +((( 579 +Gibt TRUE zurück, wenn der Nutzer den angegebenen Kursbaustein erledigt hat (Kursfortschritt). 580 +))) 565 565 582 +(% class="auto-cursor-target" %) 583 +\\ 584 + 566 566 {{note title="Achtung!"}} 567 567 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. 568 568 {{/note}} 588 + 589 +(% class="auto-cursor-target" %) 590 +\\ 569 569 {{/expand}} 592 + 593 +(% class="auto-cursor-target" %) 594 +\\ 570 570 {{/layout-cell}} 571 571 {{/layout-section}} 572 572 {{/layout}} 598 +{{/sv-translation}} 599 + 600 +{{sv-translation language="en"}} 601 +{{expand title="Display expert syntax"}} 602 +=== Expert syntax === 603 + 604 +|=((( 605 +Type 606 +)))|=((( 607 +Syntax 608 +)))|=((( 609 +Description 610 +))) 611 +|((( 612 +(% class="TableParagraph" %) 613 +**Constants** 614 +)))|((( 615 +(% class="TableParagraph" %) 616 +//TRUE //or //1// 617 +)))|((( 618 +(% class="TableParagraph" %) 619 +True 620 +))) 621 +|((( 622 + 623 +)))|((( 624 +(% class="TableParagraph" %) 625 +//FALSE //or //0// 626 +)))|((( 627 +(% class="TableParagraph" %) 628 +False 629 +))) 630 +|((( 631 +(% class="TableParagraph" %) 632 +**Variable** 633 +)))|((( 634 +(% class="TableParagraph" %) 635 +//now// 636 +)))|((( 637 +(% class="TableParagraph" %) 638 +Current server system time 639 +))) 640 +|((( 641 +(% class="TableParagraph" %) 642 +**Functions** 643 +)))|((( 644 +(% class="TableParagraph" %) 645 +//date("[date]")// 646 +)))|((( 647 +(% class="TableParagraph" %) 648 +Query date 649 +))) 650 +|(% colspan="1" %)(% colspan="1" %) 651 +((( 652 + 653 +)))|(% colspan="1" %)(% colspan="1" %) 654 +((( 655 +(% class="TableParagraph" %) 656 +//inLearningGroup("//[string]//")// 657 +)))|(% colspan="1" %)(% colspan="1" %) 658 +((( 659 +(% class="TableParagraph" %) 660 +Returns TRUE for all members of the learning group with the title [string] of the current course. 661 +))) 662 +|(% colspan="1" %)(% colspan="1" %) 663 +((( 664 + 665 +)))|(% colspan="1" %)(% colspan="1" %) 666 +((( 667 +(% class="TableParagraph" %) 668 +//inLearningGroup("//[string1]//","//[string2]//")// 669 +)))|(% colspan="1" %)(% colspan="1" %) 670 +((( 671 +(% class="TableParagraph" %) 672 +Returns TRUE for all members of the specified learning group [string1] of the course with the specified course ID=[string2]. 673 +))) 674 +|(% colspan="1" %)(% colspan="1" %) 675 +((( 676 + 677 +)))|(% colspan="1" %)(% colspan="1" %) 678 +((( 679 +(% class="TableParagraph" %) 680 +//inLearningGroupWaitingList("//[string]//")// 681 +)))|(% colspan="1" %)(% colspan="1" %) 682 +((( 683 +(% class="TableParagraph" %) 684 +Returns TRUE for all users on the waiting list of the learning group [string] of the current course. 685 +))) 686 +|(% colspan="1" %)(% colspan="1" %) 687 +((( 688 + 689 +)))|(% colspan="1" %)(% colspan="1" %) 690 +((( 691 +(% class="TableParagraph" %) 692 +//inLearningGroupWaitingList("//[string1]//","//[string2]//"// //)// 693 +)))|(% colspan="1" %)(% colspan="1" %) 694 +((( 695 +(% class="TableParagraph" %) 696 +Returns TRUE for all users on the waiting list of the learning group [string1] of the course with the specified course ID=[string2]. 697 +))) 698 +|(% colspan="1" %)(% colspan="1" %) 699 +((( 700 + 701 +)))|(% colspan="1" %)(% colspan="1" %) 702 +((( 703 +(% class="TableParagraph" %) 704 +//inRightGroup("//[string]//")// 705 +)))|(% colspan="1" %)(% colspan="1" %) 706 +((( 707 +(% class="TableParagraph" %) 708 +Returns TRUE for all members of the right group [string]. 709 +))) 710 +|(% colspan="1" %)(% colspan="1" %) 711 +((( 712 + 713 +)))|(% colspan="1" %)(% colspan="1" %) 714 +((( 715 +(% class="TableParagraph" %) 716 +//isLearningGroupFull("//[string]//")// 717 +)))|(% colspan="1" %)(% colspan="1" %) 718 +((( 719 +(% class="TableParagraph" %) 720 +Returns the Boolean TRUE (=full) or FALSE (=not full) for the specified learning group in the current course. 721 +))) 722 +|(% colspan="1" %)(% colspan="1" %) 723 +((( 724 + 725 +)))|(% colspan="1" %)(% colspan="1" %) 726 +((( 727 +(% class="TableParagraph" %) 728 +//isLearningGroupFull("//[string1]//","//[string2]//")// 729 +)))|(% colspan="1" %)(% colspan="1" %) 730 +((( 731 +(% class="TableParagraph" %) 732 +Returns the Boolean TRUE (=full) or FALSE (=not full) for the specified learning group=[string1] of the course with the course ID=[string2]. 733 +))) 734 +|(% colspan="1" %)(% colspan="1" %) 735 +((( 736 + 737 +)))|(% colspan="1" %)(% colspan="1" %) 738 +((( 739 +(% class="TableParagraph" %) 740 +//isUser("//[string]//")// 741 +)))|(% colspan="1" %)(% colspan="1" %) 742 +((( 743 +(% class="TableParagraph" %) 744 +Returns TRUE for the user with the user name [string]. 745 +))) 746 +|(% colspan="1" %)(% colspan="1" %) 747 +((( 748 + 749 +)))|(% colspan="1" %)(% colspan="1" %) 750 +((( 751 +(% class="TableParagraph" %) 752 +//inLearningArea("//[string]//")// 753 +)))|(% colspan="1" %)(% colspan="1" %) 754 +((( 755 +(% class="TableParagraph" %) 756 +Returns TRUE for all members of the groups in the learning area [string] of the current course. 757 +))) 758 +|(% colspan="1" %)(% colspan="1" %) 759 +((( 760 + 761 +)))|(% colspan="1" %)(% colspan="1" %) 762 +((( 763 +(% class="TableParagraph" %) 764 +//inLearningArea("//[string1]//","//[string2]//")// 765 +)))|(% colspan="1" %)(% colspan="1" %) 766 +((( 767 +(% class="TableParagraph" %) 768 +Returns TRUE for all members of the groups in the specified learning area [string1] of the course with the specified course ID=[string2]. 769 +))) 770 +|(% colspan="1" %)(% colspan="1" %) 771 +((( 772 + 773 +)))|(% colspan="1" %)(% colspan="1" %) 774 +((( 775 +(% class="TableParagraph" %) 776 +//getNumberOfEnrollments("//[string1]*//")// 777 +)))|(% colspan="1" %)(% colspan="1" %) 778 +((( 779 +(% class="TableParagraph" %) 780 +Returns TRUE, when the configured number of learning group members is reached in the learning area (string1). 781 +))) 782 +|(% colspan="1" %)(% colspan="1" %) 783 +((( 784 + 785 +)))|(% colspan="1" %)(% colspan="1" %) 786 +((( 787 +(% class="TableParagraph" %) 788 +//isGlobalAuthor(0)// 789 +)))|(% colspan="1" %)(% colspan="1" %) 790 +((( 791 +(% class="TableParagraph" %) 792 +Returns TRUE for all members of the OPAL author group. 793 +))) 794 +|(% colspan="1" %)(% colspan="1" %) 795 +((( 796 + 797 +)))|(% colspan="1" %)(% colspan="1" %) 798 +((( 799 +(% class="TableParagraph" %) 800 +//isCourseAdministrator(0)// 801 +)))|(% colspan="1" %)(% colspan="1" %) 802 +((( 803 +(% class="TableParagraph" %) 804 +Returns TRUE for all owners of your course (learning resource). 805 +))) 806 +|(% colspan="1" %)(% colspan="1" %) 807 +((( 808 + 809 +)))|(% colspan="1" %)(% colspan="1" %) 810 +((( 811 +(% class="TableParagraph" %) 812 +//isCourseCoach(0)// 813 +)))|(% colspan="1" %)(% colspan="1" %) 814 +((( 815 +(% class="TableParagraph" %) 816 +Returns TRUE for all users who supervise a learning group. 817 +))) 818 +|(% colspan="1" %)(% colspan="1" %) 819 +((( 820 + 821 +)))|(% colspan="1" %)(% colspan="1" %) 822 +((( 823 +(% class="TableParagraph" %) 824 +//isGuest(0)// 825 +)))|(% colspan="1" %)(% colspan="1" %) 826 +((( 827 +(% class="TableParagraph" %) 828 +Returns TRUE for all users who visit OPAL as guests. 829 +))) 830 +|(% colspan="1" %)(% colspan="1" %) 831 +((( 832 + 833 +)))|(% colspan="1" %)(% colspan="1" %) 834 +((( 835 +(% class="TableParagraph" %) 836 +//isExternalUser(0)// 837 +)))|(% colspan="1" %)(% colspan="1" %) 838 +((( 839 +(% class="TableParagraph" %) 840 +Returns TRUE for everyone who uses OPAL as an external user. 841 +))) 842 +|(% colspan="1" %)(% colspan="1" %) 843 +((( 844 + 845 +)))|(% colspan="1" %)(% colspan="1" %) 846 +((( 847 +(% class="TableParagraph" %) 848 +//hasAttribute("//[AttrName]//","//[string]//")// 849 +)))|(% colspan="1" %)(% colspan="1" %) 850 +((( 851 +(% class="TableParagraph" %) 852 +Returns TRUE if [string] matches the value of the AAI attribute [AttrName] of the respective user. 853 +))) 854 +|(% colspan="1" %)(% colspan="1" %) 855 +((( 856 + 857 +)))|(% colspan="1" %)(% colspan="1" %) 858 +((( 859 +(% class="TableParagraph" %) 860 +//isInAttribute("//[AttrName]//","//[substring]//")// 861 +)))|(% colspan="1" %)(% colspan="1" %) 862 +((( 863 +(% class="TableParagraph" %) 864 +Returns TRUE if [substring] matches a portion of the value of the AAI attribute [AttrName] of the respective user. 865 +))) 866 +|(% colspan="1" %)(% colspan="1" %) 867 +((( 868 + 869 +)))|(% colspan="1" %)(% colspan="1" %) 870 +((( 871 +(% class="TableParagraph" %) 872 +//getUserProperty("//[string]//")// 873 +)))|(% colspan="1" %)(% colspan="1" %) 874 +((( 875 +(% class="TableParagraph" %) 876 +Returns the specified user property of the executing user. 877 +))) 878 +|(% colspan="1" %)(% colspan="1" %) 879 +((( 880 + 881 +)))|(% colspan="1" %)(% colspan="1" %) 882 +((( 883 +(% class="TableParagraph" %) 884 +//getPassed("//[integer]//")// 885 +)))|(% colspan="1" %)(% colspan="1" %) 886 +((( 887 +(% class="TableParagraph" %) 888 +Returns the Boolean TRUE (=passed) or FALSE (=not passed) from the course element with the specified ID. 889 +))) 890 +|(% colspan="1" %)(% colspan="1" %) 891 +((( 892 + 893 +)))|(% colspan="1" %)(% colspan="1" %) 894 +((( 895 +(% class="TableParagraph" %) 896 +//getScore("//[integer]//")// 897 +)))|(% colspan="1" %)(% colspan="1" %) 898 +((( 899 +(% class="TableParagraph" %) 900 +Returns the number of points from the course element with the specified ID. 901 +))) 902 +|(% colspan="1" %)(% colspan="1" %) 903 +((( 904 + 905 +)))|(% colspan="1" %)(% colspan="1" %) 906 +((( 907 +(% class="TableParagraph" %) 908 +//getAttempts("//[integer]//")// 909 +)))|(% colspan="1" %)(% colspan="1" %) 910 +((( 911 +(% class="TableParagraph" %) 912 +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). 913 +))) 914 +|(% colspan="1" %)(% colspan="1" %) 915 +((( 916 + 917 +)))|(% colspan="1" %)(% colspan="1" %) 918 +((( 919 +(% class="TableParagraph" %) 920 +//getInitialEnrollmentDate("//[integer]//")// 921 +)))|(% colspan="1" %)(% colspan="1" %) 922 +((( 923 +(% class="TableParagraph" %) 924 +Returns the date of the respective course participant's first-time enrolment from the course element //Enrolment// with the specified ID. 925 +))) 926 +|(% colspan="1" %)(% colspan="1" %) 927 +((( 928 + 929 +)))|(% colspan="1" %)(% colspan="1" %) 930 +((( 931 +(% class="TableParagraph" %) 932 +//getRecentEnrollmentDate("//[integer]//")// 933 +)))|(% colspan="1" %)(% colspan="1" %) 934 +((( 935 +(% class="TableParagraph" %) 936 +Returns the date of the respective course participant's last enrolment from the course element //Enrolment// with the specified ID. 937 +))) 938 +|((( 939 + 940 +)))|((( 941 +(% class="TableParagraph" %) 942 +//getInitialCourseLaunchDate(0)// 943 +)))|((( 944 +(% class="TableParagraph" %) 945 +Returns the date of the first course visit of the respective course participant. 946 +))) 947 +|((( 948 + 949 +)))|((( 950 +(% class="TableParagraph" %) 951 +//getRecentCourseLaunchDate(0)// 952 +)))|((( 953 +(% class="TableParagraph" %) 954 +Returns the date of the last course visit of the respective course participant. 955 +))) 956 +|(% colspan="1" %)(% colspan="1" %) 957 +((( 958 + 959 +)))|(% colspan="1" %)(% colspan="1" %) 960 +((( 961 +(% class="TableParagraph" %) 962 +//getRecentCourseLaunchDate(0)// 963 +)))|(% colspan="1" %)(% colspan="1" %) 964 +((( 965 +(% class="TableParagraph" %) 966 +Returns the date of the last course visit of the respective course participant. 967 +))) 968 +|(% colspan="1" %)(% colspan="1" %) 969 +((( 970 + 971 +)))|(% colspan="1" %)(% colspan="1" %) 972 +((( 973 +(% class="TableParagraph" %) 974 +//getPassedWithCourseId("//[integer-1]//","//[integer- 2]//")// 975 +)))|(% colspan="1" %)(% colspan="1" %) 976 +((( 977 +(% class="TableParagraph" %) 978 +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]. 979 +))) 980 +|(% colspan="1" %)(% colspan="1" %) 981 +((( 982 + 983 +)))|(% colspan="1" %)(% colspan="1" %) 984 +((( 985 +(% class="TableParagraph" %) 986 +//getScoreWithCourseId("//[integer-1]//","//[integer-2]//")// 987 +)))|(% colspan="1" %)(% colspan="1" %) 988 +((( 989 +(% class="TableParagraph" %) 990 +Returns the number of points from the course element with the ID=[integer-2] of the course with the ID=[integer-1]. 991 +))) 992 +|(% colspan="1" %)(% colspan="1" %) 993 +((( 994 + 995 +)))|(% colspan="1" %)(% colspan="1" %) 996 +((( 997 +//getMarkWithCourseId(" //[integer-1]//","//[integer-2]//")// 998 +)))|(% colspan="1" %)(% colspan="1" %) 999 +((( 1000 +Returns the grade from the course element with the with the ID=[integer-1]. 1001 +))) 1002 +|((( 1003 + 1004 +)))|((( 1005 +(% class="TableParagraph" %) 1006 +//hasEvaluationCompleted("//KB-ID//")// 1007 +)))|((( 1008 +(% class="TableParagraph" %) 1009 +Returns TRUE for all users who have successfully completed the specified course element. 1010 +))) 1011 +|((( 1012 + 1013 +)))|((( 1014 +(% class="TableParagraph" %) 1015 +//getNumberOfEnrollments("//[string1]*//")// 1016 +)))|((( 1017 +(% class="TableParagraph" %) 1018 +Returns TRUE, when the configured number of learning group members is reached in the learning area (string1). 1019 +))) 1020 +|((( 1021 + 1022 +)))|((( 1023 +(% class="TableParagraph" %) 1024 +//getOnyxTestOutcome("//[string1]//","//[string2]//")// 1025 +)))|((( 1026 +(% class="TableParagraph" %) 1027 +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. 1028 +))) 1029 +|(% colspan="1" %)(% colspan="1" %) 1030 +((( 1031 + 1032 +)))|(% colspan="1" %)(% colspan="1" %) 1033 +((( 1034 +(% class="TableParagraph" %) 1035 +//getOnyxTestOutcomeZK("//[string1]//","//[string2]//")// 1036 +)))|(% colspan="1" %)(% colspan="1" %) 1037 +((( 1038 +(% class="TableParagraph" %) 1039 +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. 1040 +))) 1041 +|(% colspan="1" %)(% colspan="1" %) 1042 +((( 1043 + 1044 +)))|(% colspan="1" %)(% colspan="1" %) 1045 +((( 1046 +(% class="TableParagraph" %) 1047 +//getProgress(//"[integer]"//)// 1048 +)))|(% colspan="1" %)(% colspan="1" %) 1049 +((( 1050 +(% class="TableParagraph" %) 1051 +Returns the progress from the course element with the specified ID as a numerical value between 0 and 100 (percent). 1052 +))) 1053 +|(% colspan="1" %)(% colspan="1" %) 1054 +((( 1055 + 1056 +)))|(% colspan="1" %)(% colspan="1" %) 1057 +((( 1058 +(% class="TableParagraph" %) 1059 +//isPasswordConfirmed("//[string]") 1060 +)))|(% colspan="1" %)(% colspan="1" %) 1061 +((( 1062 +(% class="TableParagraph" %) 1063 +Returns TRUE after entering the correct password (string1). 1064 + 1065 +(% class="TableParagraph" %) 1066 +Can only be used with course elements which offer a password restriction even in simple mode. 1067 +))) 1068 +|(% colspan="1" %)(% colspan="1" %) 1069 +((( 1070 + 1071 +)))|(% colspan="1" %)(% colspan="1" %) 1072 +((( 1073 +(% class="TableParagraph" %) 1074 +//comesFrom("//[string]//")// 1075 +)))|(% colspan="1" %)(% colspan="1" %) 1076 +((( 1077 +(% class="TableParagraph" %) 1078 +Returns TRUE if the user has a linked account to OLAT with the specified system ID. 1079 +))) 1080 +|(% colspan="1" %)(% colspan="1" %) 1081 +((( 1082 +(% class="TableParagraph" %) 1083 +**Units** 1084 +)))|(% colspan="1" %)(% colspan="1" %) 1085 +((( 1086 +(% class="TableParagraph" %) 1087 +//min// 1088 +)))|(% colspan="1" %)(% colspan="1" %) 1089 +((( 1090 +(% class="TableParagraph" %) 1091 +Minutes 1092 +))) 1093 +|(% colspan="1" %)(% colspan="1" %) 1094 +((( 1095 + 1096 +)))|(% colspan="1" %)(% colspan="1" %) 1097 +((( 1098 +(% class="TableParagraph" %) 1099 +//h// 1100 +)))|(% colspan="1" %)(% colspan="1" %) 1101 +((( 1102 +(% class="TableParagraph" %) 1103 +//h// 1104 +))) 1105 +|(% colspan="1" %)(% colspan="1" %) 1106 +((( 1107 + 1108 +)))|(% colspan="1" %)(% colspan="1" %) 1109 +((( 1110 +(% class="TableParagraph" %) 1111 +//w// 1112 +)))|(% colspan="1" %)(% colspan="1" %) 1113 +((( 1114 +(% class="TableParagraph" %) 1115 +Weeks 1116 +))) 1117 +|(% colspan="1" %)(% colspan="1" %) 1118 +((( 1119 + 1120 +)))|(% colspan="1" %)(% colspan="1" %) 1121 +((( 1122 +(% class="TableParagraph" %) 1123 +//m// 1124 +)))|(% colspan="1" %)(% colspan="1" %) 1125 +((( 1126 +(% class="TableParagraph" %) 1127 +Months 1128 +))) 1129 +|(% colspan="1" %)(% colspan="1" %) 1130 +((( 1131 +(% class="TableParagraph" %) 1132 +**Operators** 1133 +)))|(% colspan="1" %)(% colspan="1" %) 1134 +((( 1135 +(% class="TableParagraph" %) 1136 +~= 1137 +)))|(% colspan="1" %)(% colspan="1" %) 1138 +((( 1139 +(% class="TableParagraph" %) 1140 +equal to 1141 +))) 1142 +|((( 1143 + 1144 +)))|((( 1145 +(% class="TableParagraph" %) 1146 +~> 1147 +)))|((( 1148 +(% class="TableParagraph" %) 1149 +greater than 1150 +))) 1151 +|((( 1152 + 1153 +)))|((( 1154 +(% class="TableParagraph" %) 1155 +< 1156 +)))|((( 1157 +(% class="TableParagraph" %) 1158 +less than 1159 +))) 1160 +|((( 1161 + 1162 +)))|((( 1163 +(% class="TableParagraph" %) 1164 +~>= 1165 +)))|((( 1166 +(% class="TableParagraph" %) 1167 +greater than or equal to 1168 +))) 1169 +|((( 1170 + 1171 +)))|((( 1172 +(% class="TableParagraph" %) 1173 +<= 1174 +)))|((( 1175 +(% class="TableParagraph" %) 1176 +less than or equal to 1177 +))) 1178 +|((( 1179 + 1180 +)))|((( 1181 +(% class="TableParagraph" %) 1182 +* 1183 +)))|((( 1184 +(% class="TableParagraph" %) 1185 +Multiplication 1186 +))) 1187 +|(% colspan="1" %)(% colspan="1" %) 1188 +((( 1189 + 1190 +)))|(% colspan="1" %)(% colspan="1" %) 1191 +((( 1192 +(% class="TableParagraph" %) 1193 +/ 1194 +)))|(% colspan="1" %)(% colspan="1" %) 1195 +((( 1196 +(% class="TableParagraph" %) 1197 +Division 1198 +))) 1199 +|(% colspan="1" %)(% colspan="1" %) 1200 +((( 1201 + 1202 +)))|(% colspan="1" %)(% colspan="1" %) 1203 +((( 1204 +(% class="TableParagraph" %) 1205 ++ 1206 +)))|(% colspan="1" %)(% colspan="1" %) 1207 +((( 1208 +(% class="TableParagraph" %) 1209 +Addition 1210 +))) 1211 +|(% colspan="1" %)(% colspan="1" %) 1212 +((( 1213 + 1214 +)))|(% colspan="1" %)(% colspan="1" %) 1215 +((( 1216 +(% class="TableParagraph" %) 1217 +- 1218 +)))|(% colspan="1" %)(% colspan="1" %) 1219 +((( 1220 +(% class="TableParagraph" %) 1221 +Subtraction 1222 +))) 1223 +|((( 1224 +(% class="TableParagraph" %) 1225 +**Booleans** 1226 +)))|((( 1227 +(% class="TableParagraph" %) 1228 +& 1229 +)))|((( 1230 +(% class="TableParagraph" %) 1231 +Logical AND 1232 +))) 1233 +|((( 1234 + 1235 +)))|((( 1236 +(% class="TableParagraph" %) 1237 +~| 1238 +)))|((( 1239 +(% class="TableParagraph" %) 1240 +Logical OR 1241 +))) 1242 +|((( 1243 + 1244 +)))|((( 1245 +(% class="TableParagraph" %) 1246 +! 1247 +)))|((( 1248 +(% class="TableParagraph" %) 1249 +Logical NOT 1250 +))) 1251 +{{/expand}} 1252 + 1253 +{{expand title="Application examples of the expert syntax"}} 1254 +=== Application examples === 1255 + 1256 +In the following section, you will find examples on how to use the expert syntax. 1257 + 1258 +{{info}} 1259 +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). 1260 + 1261 +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. 1262 +{{/info}} 1263 + 1264 +|=((( 1265 +(% style="color: rgb(63,68,68);" %)Examples of rules in the tabs //«Visibility», «Access», //and// «Points» //(structure element) 1266 +)))|=((( 1267 +Effects 1268 +))) 1269 +|((( 1270 +(% class="TableParagraph" %) 1271 +isGuest(0) or isGuest(0)=1 or isGuest(0)=TRUE 1272 +)))|((( 1273 +(% class="TableParagraph" %) 1274 +Only guests have access to the course element. 1275 +))) 1276 +|((( 1277 +(% class="TableParagraph" %) 1278 +inLearningGroup("Beginners") = 0 1279 +)))|((( 1280 +(% class="TableParagraph" %) 1281 +With the exception of the group //«Beginners»,// the course element is visible to all course participants. 1282 +))) 1283 +|((( 1284 +(% class="TableParagraph" %) 1285 +(now >= date("22.03.2017 12:00")) & (now <= date("23.08.2017 18:00")) | inLearningGroup("Supervisors") 1286 +)))|((( 1287 +(% class="TableParagraph" %) 1288 +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//.// 1289 +))) 1290 +|((( 1291 +(% class="TableParagraph" %) 1292 +(now >= date("03.09.2017 00:00")) & (now <= date("13.10.2017 00:00")) & inRightGroup("Assessors")| isUser("Author") 1293 +)))|((( 1294 +(% class="TableParagraph" %) 1295 +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. 1296 +))) 1297 +|(% colspan="1" %)(% colspan="1" %) 1298 +((( 1299 +(% class="TableParagraph" %) 1300 +isInAttribute("surname","Mue") 1301 +)))|(% colspan="1" %)(% colspan="1" %) 1302 +((( 1303 +(% class="TableParagraph" %) 1304 +Returns TRUE for all persons whose attribute //surname// contains// //the letter sequence "Mue". It returns TRUE e.g. for the value "Mueller" or "Muehlebacher". 1305 +))) 1306 +|(% colspan="1" %)(% colspan="1" %) 1307 +((( 1308 +(% class="TableParagraph" %) 1309 +(getUserProperty("orgUnit") = "Marketing") 1310 +)))|(% colspan="1" %)(% colspan="1" %) 1311 +((( 1312 +(% class="TableParagraph" %) 1313 +Checks whether a person is in the organisation unit "Marketing". This is for example useful if the data are automatically transferred from LDAP. 1314 +))) 1315 +|(% colspan="1" %)(% colspan="1" %) 1316 +((( 1317 +(% class="TableParagraph" %) 1318 +(getPassed("69742969114730") | getPassed("69742969115733") | getPassed("69742969118009")) * 10 1319 +)))|(% colspan="1" %)(% colspan="1" %) 1320 +((( 1321 +(% class="TableParagraph" %) 1322 +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. 1323 +))) 1324 +|(% colspan="1" %)(% colspan="1" %) 1325 +((( 1326 +(getScore("69742969114730") + getScore("69742969115733") + getScore("69742969118009")) >= 140 | getPassed("69978845384688") 1327 +)))|(% colspan="1" %)(% colspan="1" %) 1328 +((( 1329 +(% class="TableParagraph" %) 1330 +This rule is set in the tab //«Points» //-> 1331 + 1332 +//«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"). 1333 +))) 1334 +|(% colspan="1" %)(% colspan="1" %) 1335 +((( 1336 +(% class="TableParagraph" %) 1337 +getAttempts("70323786958847") > 0 1338 +)))|(% colspan="1" %)(% colspan="1" %) 1339 +((( 1340 +(% class="TableParagraph" %) 1341 +Returns TRUE as soon as the course participant has completed the test with the specified ID for the first time. 1342 +))) 1343 +|((( 1344 +(% class="TableParagraph" %) 1345 +getAttempts("70323524635734") <= 3 1346 +)))|((( 1347 +(% class="TableParagraph" %) 1348 +Returns FALSE as soon as the course participant has saved more than 3 files in the drop box of the course element //Task//. 1349 +))) 1350 +|((( 1351 +(% class="TableParagraph" %) 1352 +getInitialEnrollmentDate("70323786958847") <= date("26.5.2017 18:00") 1353 +)))|((( 1354 +(% class="TableParagraph" %) 1355 +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. 1356 +))) 1357 +|(% colspan="1" %)(% colspan="1" %) 1358 +((( 1359 +(% class="TableParagraph" %) 1360 +getInitialEnrollmentDate("70323786958847") + 2h > now 1361 +)))|(% colspan="1" %)(% colspan="1" %) 1362 +((( 1363 +(% class="TableParagraph" %) 1364 +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. 1365 +))) 1366 +|(% colspan="1" %)(% colspan="1" %) 1367 +((( 1368 +(% class="TableParagraph" %) 1369 +(getInitialCourseLaunchDate(0) >= never) | (getInitialCourseLaunchDate(0) + 2h > now) 1370 +)))|(% colspan="1" %)(% colspan="1" %) 1371 +((( 1372 +(% class="TableParagraph" %) 1373 +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. 1374 +))) 1375 +|(% colspan="1" %)(% colspan="1" %) 1376 +((( 1377 +(% class="TableParagraph" %) 1378 +(getRecentCourseLaunchDate(0) + 10min) > now 1379 +)))|(% colspan="1" %)(% colspan="1" %) 1380 +((( 1381 +(% class="TableParagraph" %) 1382 +Returns TRUE if the user has been active in the course for more than 10 minutes. 1383 +))) 1384 +|((( 1385 +(% class="TableParagraph" %) 1386 +getOnyxTestOutcome("84692289655276","SCORE") >= 10 1387 +)))|((( 1388 +(% class="TableParagraph" %) 1389 +Returns TRUE if the user has reached at least 10 points. 1390 +))) 1391 +|((( 1392 +(% class="TableParagraph" %) 1393 +getOnyxTestOutcomeZK("84389429397045","PASS") ="true" 1394 +)))|((( 1395 +(% class="TableParagraph" %) 1396 +Returns TRUE if the user has passed the test. 1397 +))) 1398 +|((( 1399 +(% class="TableParagraph" %) 1400 +getMark("84692289655276") > 4 1401 +)))|((( 1402 +(% class="TableParagraph" %) 1403 +Returns TRUE if the user's grade for the specified course element is better than 4. 1404 +))) 1405 + 1406 +{{note title="Attention!"}} 1407 +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. 1408 +{{/note}} 1409 +{{/expand}} 1410 +{{/sv-translation}}
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 - 1635781581 +288097184 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/LMS/pages/ 163578158/Expertenmodus1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/LMS/pages/288097184/Expert Mode