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 Prochaine révision Les deux révisions suivantes | ||
local:moodlescript:languagespecification [2019/03/26 16:47] admin [Commandes] |
local:moodlescript:languagespecification [2022/09/26 16:57] admin |
||
---|---|---|---|
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 ... | <del>ADD MODULE ...</del> | + | | [[: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 ... | <del>SET CONFIG</del> | | + | | [[: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:deleteuser|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:setvalriable|SET VARIABLE ...]] | <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. | **Note :** Les commandes barrées ne sont pas actuellement développées, mais sont envisagées comme une évolution souhaitable. | ||
Ligne 61: | 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]] | + | [[:local:moodlescript|Return to component index]] - [[:start|Return to home]] |