Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
local:moodlescript:languagespecification [2019/03/26 16:44] admin [Commands] |
local:moodlescript:languagespecification [2024/04/04 15:52] (Version actuelle) |
||
---|---|---|---|
Ligne 5: | Ligne 5: | ||
==== Commandes ==== | ==== Commandes ==== | ||
- | * [[:local:moodlescript:language:ADD|ADD]] | + | ===ADD=== |
- | | ADD BLOCK ... | ADD CAPABILITY ... | ADD CATEGORY ... | ADD CATEGORY PATH ... | ADD COURSE ... | ADD ENROL METHOD ... | ADD USER ... | | + | | [[:local:moodlescript:language:addblock|ADD BLOCK ...]] | [[:local:moodlescript:language:addcapability|ADD CAPABILITY ...]] | [[:local:moodlescript:language:addcategory|ADD CATEGORY ...]] | [[:local:moodlescript:language:addcategorypath|ADD CATEGORY PATH ...]] | [[:local:moodlescript:language:addcourse|ADD COURSE ...]] | [[:local:moodlescript:language:addenrolmethod|ADD ENROL METHOD ...]] | [[:local:moodlescript:language:adduser|ADD USER ...]] | <del>ADD MODULE ...</del> |
- | * [[:local:moodlescript:language:ADD|ASSIGN]] | + | ===ASSIGN=== |
- | | ASSIGN ROLE ... | | + | | [[:local:moodlescript:language:assignrole|ASSIGN ROLE ...]] | |
- | * [[:local:moodlescript:language:ADD|BACKUP]] | + | ===BACKUP=== |
- | | BACKUP COURSE ... | <del>BACKUP ACTIVITY ...</del> | | + | | [[:local:moodlescript:language:backupcourse|BACKUP COURSE ...]] | <del>BACKUP ACTIVITY ...</del> | |
- | * [[:local:moodlescript:language:ADD|CLONE]] | + | ===CLONE=== |
- | * [[:local:moodlescript:language:ADD|DELETE]] | + | |
- | | DELETE USER ... | | ||
- | * [[:local:moodlescript:language:ADD|ECHO]] | + | ===ECHO=== |
- | * [[:local:moodlescript:language:ADD|ENROL]] | + | |
- | * [[:local:moodlescript:language:ADD|HIDE]] | + | |
- | | HIDE BLOCK ... | <del>HIDE COURSE ...</del> | <del>HIDE CATEGORY... </del> | | + | | [[:local:moodlescript:language:echo|ECHO]] | |
- | * [[:local:moodlescript:language:ADD|LIST]] | + | ===ENROL=== |
- | | LIST GLOBALS ... | | + | * [[:local:moodlescript:language:enrol|ENROL]] |
- | * [[:local:moodlescript:language:ADD|MOVE]] | + | ===HIDE=== |
- | | MOVE COURSE ... | MOVE ROLE ASSIGN ... | | + | | [[:local:moodlescript:language:hideblock|HIDE BLOCK ...]] | <del>HIDE COURSE ...</del> | <del>HIDE CATEGORY... </del> | |
- | * [[:local:moodlescript:language:ADD|REMOVE]] | + | ===LIST=== |
- | | REMOVE BLOCK ... | REMOVE CAPABILITY ... | REMOVE ENROL METHOD ... | | + | | [[:local:moodlescript:language:listglobals|LIST GLOBALS ...]] | |
- | * [[:local:moodlescript:language:ADD|RESTORE]] | + | ===MOVE=== |
- | * [[:local:moodlescript:language:ADD|SET]] | + | |
- | | SET PROFILE VALUE ... | | + | | [[:local:moodlescript:language:movecourse|MOVE COURSE ...]] | [[:local:moodlescript:language:moveroleassign|MOVE ROLE ASSIGN ...]] | |
- | * [[:local:moodlescript:language:ADD|SHOW]] | + | ===REMOVE=== |
- | | SHOW BLOCK ... | <del>SHOW COURSE ...</del> | <del>SHOW CATEGORY ...</del> | + | | [[:local:moodlescript:language:removeblock|REMOVE BLOCK ...]] | [[:local:moodlescript:language:removecapability|REMOVE CAPABILITY ...]] | [[:local:moodlescript:language:removeenrolmethod|REMOVE ENROL METHOD ...]] | <del>REMOVE MODULE...</del> | |
+ | | [[:local:moodlescript:language:removeuser|REMOVE USER ...]] | | ||
- | * [[:local:moodlescript:language:ADD|UNASSIGN]] | + | ===RESTORE=== |
+ | | [[:local:moodlescript:language:restorecourse|RESTORE COURSE]] | <del>RESTORE ACTIVTIY ...</del> | | ||
- | | UNASSIGN ROLE ... | | + | ===SET=== |
- | * [[:local:moodlescript:language:ADD|UNENROL]] | + | | [[:local:moodlescript:language:setprofilevalue|SET PROFILE VALUE ...]] | [[:local:moodlescript:language:setvariable|SET VARIABLE ...]] | [[:local:moodlescript:language:setmapping|SET MAPPING ...]] | <del>SET CONFIG</del> | |
+ | |||
+ | ===SHOW=== | ||
+ | |||
+ | | [[:local:moodlescript:language:showblock|SHOW BLOCK ...]] | <del>SHOW COURSE ...</del> | <del>SHOW CATEGORY ...</del> | | ||
+ | |||
+ | ===UNASSIGN=== | ||
+ | |||
+ | | [[:local:moodlescript:language:unassignrole|UNASSIGN ROLE ...]] | | ||
+ | |||
+ | === UNENROL=== | ||
+ | * [[:local:moodlescript:language:unenrol|UNENROL]] | ||
+ | |||
+ | **Note :** Les commandes barrées ne sont pas actuellement développées, mais sont envisagées comme une évolution souhaitable. | ||
==== Autres commandes ==== | ==== Autres commandes ==== | ||
Ligne 59: | Ligne 69: | ||
* [[:local:moodlescript:langage:SUSPENDUSER|SUSPEND USER]] | * [[:local:moodlescript:langage:SUSPENDUSER|SUSPEND USER]] | ||
+ | * [[:local:moodlescript:langage:FREEZECONTEXT|FREEZE CONTEXT]] | ||
+ | |||
+ | * [[:local:moodlescript:langage:UNFREEZECONTEXT|UNFREEZE CONTEXT]] | ||
- | [[:local:moodlecript|Return to component index]] - [[:start|Return to home]] | + | <html><!-- nomoodle --></html> |
+ | [[:local:moodlescript|Return to component index]] - [[:start|Return to home]] | ||
+ | <html><!-- /nomoodle --></html> |