Änderungen von Dokument Expertenmodus

Zuletzt geändert von Carina Enke am 16.01.2024

Von Version 196.1
bearbeitet von Carina Enke
am 21.05.2019
Änderungskommentar: Mittels Scroll Versions veröffentlicht aus dem Bereich LMSintern und Version 12.0.
Auf Version 199.1
bearbeitet von Carina Enke
am 30.10.2018
Änderungskommentar: Mittels Scroll Versions veröffentlicht aus dem Bereich LMSintern und Version 11.3.3.

Zusammenfassung

Details

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