Performance helper.
Copyright: | 2016 Frédéric Massart - FMCorz.net |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 123 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
performance_helper:: (4 methods):
get_context_from_competency()
get_framework_from_competency()
get_scale_from_competency()
ingest_framework()
Class: performance_helper - X-Ref
Performance helper class.get_context_from_competency(competency $competency) X-Ref |
Get the context of a competency. param: competency $competency The competency. return: \context |
get_framework_from_competency(competency $competency) X-Ref |
Get the framework of a competency. param: competency $competency The competency. return: competency_framework |
get_scale_from_competency(competency $competency) X-Ref |
Get the scale of a competency. /!\ Make sure that this is always kept in sync with: - core_competency\competency::get_scale() - core_competency\competency_framework::get_scale() param: competency $competency The competency. return: \grade_scale |
ingest_framework(competency_framework $framework) X-Ref |
Ingest a framework to avoid additional fetching. param: competency_framework $framework The framework. return: void |