Frank Ralf (talk | contribs) (New page: Ideen für Glossarlisten-Block: ==================================== activity_modules Block als Vorlage für glossaries-Block SQL mit dmllib.php abrufen? Funktion get_fast_modinfo in mo...) |
Frank Ralf (talk | contribs) (→==) |
||
Line 1: | Line 1: | ||
Ideen für Glossarlisten-Block: | Ideen für Glossarlisten-Block: | ||
== | == Some unsorted ideas == | ||
activity_modules | * use activity_modules block as a template for glossary_list block | ||
* request SQL with dmllib.php? | |||
* function get_fast_modinfo in moodle\course\lib.php (1058) - works only on course level ("Returns reference to full info about modules in course") | |||
: Is there an equivalent at site level? | |||
* Alternatives: | |||
a) get list of all courses (IDs) | |||
b) collect all glossaries | |||
c) show only those for the current user | |||
* function "get_all_instances_in_course" in \lib\datalib.php | |||
" | * or "get_all_instances_in_courses" | ||
* http://localhost/moodle_cvs/moodle/mod/glossary/index.php?id=1 gets a list of all glossaries for the current course | |||
Revision as of 15:42, 13 November 2009
Ideen für Glossarlisten-Block:
Some unsorted ideas
- use activity_modules block as a template for glossary_list block
- request SQL with dmllib.php?
- function get_fast_modinfo in moodle\course\lib.php (1058) - works only on course level ("Returns reference to full info about modules in course")
- Is there an equivalent at site level?
- Alternatives:
a) get list of all courses (IDs) b) collect all glossaries c) show only those for the current user
- function "get_all_instances_in_course" in \lib\datalib.php
- or "get_all_instances_in_courses"
- http://localhost/moodle_cvs/moodle/mod/glossary/index.php?id=1 gets a list of all glossaries for the current course