mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-59057 analytics: Standarize indicators and targets ids
Part of MDL-57791 epic.
This commit is contained in:
parent
e499074f39
commit
b0c2492906
5 changed files with 14 additions and 6 deletions
|
@ -53,6 +53,15 @@ abstract class calculable {
|
|||
return get_called_class();
|
||||
}
|
||||
|
||||
/**
|
||||
* The class id is the calculable class full qualified class name.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function get_id() {
|
||||
return '\\' . get_class($this);
|
||||
}
|
||||
|
||||
/**
|
||||
* add_sample_data
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue