MDL-51025 tool_lp: Frameworks can be created on a category level
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user