MDL-51025 tool_lp: Frameworks can be created on a category level

This commit is contained in:
Frederic Massart
2016-04-18 10:58:33 +08:00
parent 4511b7d694
commit 2de75345bb
31 changed files with 523 additions and 409 deletions
+9
View File
@@ -214,6 +214,15 @@ class competency extends persistent {
$this->path = $path;
}
/**
* Get the competencyframeworkid
*
* @return int The competency framework id.
*/
public function get_framework() {
return new competency_framework($this->get_competencyframeworkid());
}
/**
* Get the competencyframeworkid
*