Concept caching for glossary filter.
More...
Concept caching for glossary filter.
- Copyright
- 2014 Petr Skoda
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ cm_updated()
Event observer, do not call directly.
- Parameters
-
◆ fetch_concepts()
static mod_glossary\local\concept_cache::fetch_concepts |
( |
array |
$glossaries | ) |
|
|
staticprotected |
Fetch concepts for given glossaries.
- Parameters
-
- Return values
-
◆ get_concepts()
static mod_glossary\local\concept_cache::get_concepts |
( |
|
$courseid | ) |
|
|
static |
Get all concepts that should be linked in the given course.
- Parameters
-
- Return values
-
array | with two elements - array of glossaries and concepts for each glossary |
◆ get_course_concepts()
static mod_glossary\local\concept_cache::get_course_concepts |
( |
|
$courseid | ) |
|
|
staticprotected |
Get all linked concepts from course.
- Parameters
-
- Return values
-
◆ get_global_concepts()
static mod_glossary\local\concept_cache::get_global_concepts |
( |
| ) |
|
|
staticprotected |
Get all linked global concepts.
- Return values
-
◆ reset_caches()
static mod_glossary\local\concept_cache::reset_caches |
( |
|
$phpunitreset = false | ) |
|
|
static |
Reset concept related caches.
- Parameters
-
◆ reset_course_muc()
static mod_glossary\local\concept_cache::reset_course_muc |
( |
|
$courseid | ) |
|
|
static |
Reset the cache for course concepts.
- Parameters
-
◆ reset_glossary()
static mod_glossary\local\concept_cache::reset_glossary |
( |
|
$glossary | ) |
|
|
static |
Utility method to purge caches related to given glossary.
- Parameters
-
The documentation for this class was generated from the following file: