local:moodlescript:language:showblock
MoodleScript: SHOW BLOCK
MoodleScript Script Engine
Effect
Shows the instances of a block in a course.
Syntax
SHOW BLOCK <blocktype> IN <courseidentifier> SHOW BLOCK <blockidentifier> (todo)
Examples
SHOW BLOCK latest_news IN idnumber:U345654
SHOW BLOCK idnumber:"B203_52"
SHOW BLOCK current
Specific attributes
- blocktype: A block type (for example “latest_news”, “configurable_report”, etc.).
- courseidentifier: A course identifier
- blockidentifier: a unique block identifier (*)
Other defaults
None
Notes
(*) This assumes the “block identifiers” provided by the installation of certain third-party plugins are in place.
See also
local/moodlescript/language/showblock.txt · Dernière modification : de 127.0.0.1
