Merge branch 'MDL-75234-master' of https://github.com/ferranrecio/moodle
This commit is contained in:
@@ -20,9 +20,11 @@ use cm_info;
|
||||
use context_module;
|
||||
use completion_info;
|
||||
use data_field_base;
|
||||
use mod_data_renderer;
|
||||
use mod_data\event\course_module_viewed;
|
||||
use mod_data\event\template_viewed;
|
||||
use mod_data\event\template_updated;
|
||||
use moodle_page;
|
||||
use core_component;
|
||||
use mod_data_renderer;
|
||||
use moodle_page;
|
||||
@@ -276,6 +278,11 @@ class manager {
|
||||
* NOTE: this method returns a default template if the module template is empty.
|
||||
* However, it won't update the template database field.
|
||||
*
|
||||
* Some possible options:
|
||||
* - search: string with the current searching text.
|
||||
* - page: integer repesenting the current pagination page numbre (if any)
|
||||
* - baseurl: a moodle_url object to the current page.
|
||||
*
|
||||
* @param string $templatename
|
||||
* @param array $options extra display options array
|
||||
* @return template the template instance
|
||||
|
||||
Reference in New Issue
Block a user