Concept caching for glossary filter.  
 More...
|  | 
| static | cm_updated (\core\event\course_module_updated $event) | 
|  | Event observer, do not call directly. 
 | 
|  | 
| static | get_concepts ($courseid) | 
|  | Get all concepts that should be linked in the given course. 
 | 
|  | 
| static | reset_caches ($phpunitreset=false) | 
|  | Reset concept related caches. 
 | 
|  | 
| static | reset_course_muc ($courseid) | 
|  | Reset the cache for course concepts. 
 | 
|  | 
| static | reset_global_muc () | 
|  | Reset the cache for global concepts. 
 | 
|  | 
| static | reset_glossary ($glossary) | 
|  | Utility method to purge caches related to given glossary. 
 | 
|  | 
Concept caching for glossary filter. 
- Copyright
- 2014 Petr Skoda 
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 
◆ cm_updated()
  
  | 
        
          | static mod_glossary\local\concept_cache::cm_updated | ( | \core\event\course_module_updated | $event | ) |  |  | static | 
 
Event observer, do not call directly. 
- Parameters
- 
  
    | core\event\course_module_updated | $event |  |  
 
 
 
◆ 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: