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