This commit is contained in:
Dan Poltawski 2016-06-28 10:18:11 +01:00
commit 5fd469e921

View File

@ -563,6 +563,8 @@ class document implements \renderable, \templatable {
$title = $this->is_set('title') ? $this->format_text($this->get('title')) : '';
$data = [
'componentname' => $componentname,
'areaname' => $areaname,
'courseurl' => course_get_url($this->get('courseid')),
'coursefullname' => format_string($this->get('coursefullname'), true, array('context' => $this->get('contextid'))),
'modified' => userdate($this->get('modified')),