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