Merge branch 'MDL-75075-master' of https://github.com/NashTechOpenUniversity/moodle
This commit is contained in:
@@ -4553,6 +4553,7 @@ EOD;
|
||||
* will be appended to the end, JS will toggle the rest of the tags
|
||||
* @param context $pagecontext specify if needed to overwrite the current page context for the view tag link
|
||||
* @param bool $accesshidelabel if true, the label should have class="accesshide" added.
|
||||
* @param bool $displaylink Indicates whether the tag should be displayed as a link.
|
||||
* @return string
|
||||
*/
|
||||
public function tag_list(
|
||||
@@ -4561,9 +4562,10 @@ EOD;
|
||||
$classes = '',
|
||||
$limit = 10,
|
||||
$pagecontext = null,
|
||||
$accesshidelabel = false
|
||||
$accesshidelabel = false,
|
||||
$displaylink = true,
|
||||
) {
|
||||
$list = new taglist($tags, $label, $classes, $limit, $pagecontext, $accesshidelabel);
|
||||
$list = new taglist($tags, $label, $classes, $limit, $pagecontext, $accesshidelabel, $displaylink);
|
||||
return $this->render_from_template('core_tag/taglist', $list->export_for_template($this));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user