Ci-dessous, les différences entre deux révisions de la page.
local:moodlescript:languagespecification [2019/03/26 18:18] admin [Commandes] |
local:moodlescript:languagespecification [2024/04/04 15:52] |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | =====Définition du langage MoodleScript==== | ||
- | Cette documentation détaille les opéraitions qui sont prises en charge par le Moodlescript dans sa version la plus actuelle. | ||
- | |||
- | ==== Commandes ==== | ||
- | |||
- | ===ADD=== | ||
- | |||
- | | [[: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> | ||
- | |||
- | ===ASSIGN=== | ||
- | |||
- | | [[:local:moodlesript:language:assignrole|ASSIGN ROLE ...]] | | ||
- | |||
- | ===BACKUP=== | ||
- | |||
- | | [[:local:moodlesript:language:backupcourse|BACKUP COURSE ...]] | <del>BACKUP ACTIVITY ...</del> | | ||
- | |||
- | ===CLONE=== | ||
- | |||
- | ===DELETE=== | ||
- | |||
- | | [[:local:moodlesript:language:deleteuser|DELETE USER ...]] | | ||
- | |||
- | ===ECHO=== | ||
- | |||
- | | [[:local:moodlescript:language:echo|ECHO]] | | ||
- | |||
- | ===ENROL=== | ||
- | |||
- | * [[:local:moodlescript:language:enrol|ENROL]] | ||
- | |||
- | ===HIDE=== | ||
- | |||
- | | [[:local:moodlesript:language:hideblock|HIDE BLOCK ...]] | <del>HIDE COURSE ...</del> | <del>HIDE CATEGORY... </del> | | ||
- | |||
- | ===LIST=== | ||
- | |||
- | | [[:local:moodlesript:language:listglobals|LIST GLOBALS ...]] | | ||
- | |||
- | ===MOVE=== | ||
- | |||
- | | [[:local:moodlesript:language:movecourse|MOVE COURSE ...]] | [[:local:moodlesript:language:moveroleassign|MOVE ROLE ASSIGN ...]] | | ||
- | |||
- | ===REMOVE=== | ||
- | |||
- | | [[:local:moodlesript:language:removeblock|REMOVE BLOCK ...]] | [[:local:moodlesript:language:removecapability|REMOVE CAPABILITY ...]] | [[:local:moodlesript:language:removeenrolmethod|REMOVE ENROL METHOD ...]] | <del>REMOVE MODULE...</del> | | ||
- | |||
- | ===RESTORE=== | ||
- | | [[:local:moodlescript:language:restorecourse|RESTORE COURSE]] | <del>RESTORE ACTIVTIY ...</del> | | ||
- | |||
- | ===SET=== | ||
- | |||
- | | [[:local:moodlesript:language:setprofilevalue|SET PROFILE VALUE ...]] | <del>SET CONFIG</del> | | ||
- | |||
- | ===SHOW=== | ||
- | |||
- | | [[:local:moodlesript:language:showblock|SHOW BLOCK ...]] | <del>SHOW COURSE ...</del> | <del>SHOW CATEGORY ...</del> | ||
- | |||
- | ===UNASSIGN=== | ||
- | |||
- | | [[:local:moodlesript: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 ==== | ||
- | |||
- | * [[:local:moodlescript:langage:SUSPENDUSER|SUSPEND USER]] | ||
- | |||
- | |||
- | [[:local:moodlecript|Return to component index]] - [[:start|Return to home]] |