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