=====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 ...]] | ADD MODULE ... ===ASSIGN=== | [[:local:moodlescript:language:assignrole|ASSIGN ROLE ...]] | ===BACKUP=== | [[:local:moodlescript:language:backupcourse|BACKUP COURSE ...]] | BACKUP ACTIVITY ... | ===CLONE=== ===ECHO=== | [[:local:moodlescript:language:echo|ECHO]] | ===ENROL=== * [[:local:moodlescript:language:enrol|ENROL]] ===HIDE=== | [[:local:moodlescript:language:hideblock|HIDE BLOCK ...]] | HIDE COURSE ... | HIDE CATEGORY... | ===LIST=== | [[:local:moodlescript:language:listglobals|LIST GLOBALS ...]] | ===MOVE=== | [[:local:moodlescript:language:movecourse|MOVE COURSE ...]] | [[:local:moodlescript:language:moveroleassign|MOVE ROLE ASSIGN ...]] | ===REMOVE=== | [[:local:moodlescript:language:removeblock|REMOVE BLOCK ...]] | [[:local:moodlescript:language:removecapability|REMOVE CAPABILITY ...]] | [[:local:moodlescript:language:removeenrolmethod|REMOVE ENROL METHOD ...]] | REMOVE MODULE... | | [[:local:moodlescript:language:removeuser|REMOVE USER ...]] | ===RESTORE=== | [[:local:moodlescript:language:restorecourse|RESTORE COURSE]] | RESTORE ACTIVTIY ... | ===SET=== | [[:local:moodlescript:language:setprofilevalue|SET PROFILE VALUE ...]] | [[:local:moodlescript:language:setvariable|SET VARIABLE ...]] | [[:local:moodlescript:language:setmapping|SET MAPPING ...]] | SET CONFIG | ===SHOW=== | [[:local:moodlescript:language:showblock|SHOW BLOCK ...]] | SHOW COURSE ... | SHOW CATEGORY ... | ===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 ==== * [[:local:moodlescript:langage:SUSPENDUSER|SUSPEND USER]] * [[:local:moodlescript:langage:FREEZECONTEXT|FREEZE CONTEXT]] * [[:local:moodlescript:langage:UNFREEZECONTEXT|UNFREEZE CONTEXT]] [[:local:moodlescript|Return to component index]] - [[:start|Return to home]]