Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)

Classes

class  glossary_entry_portfolio_caller
 class to export a single glossary entry More...
 
class  glossary_file_info_container
 Class representing the virtual node with all itemids in the file browser. More...
 
class  glossary_full_portfolio_caller
 Library of functions and constants for module glossary outside of what is required for the core moodle api. More...
 

Functions

 mod_glossary_get_tagged_entries ($tag, $exclusivemode=false, $fromctx=0, $ctx=0, $rec=1, $page=0)
 Returns glossary entries tagged with a specified tag.
 

Detailed Description

Function Documentation

◆ mod_glossary_get_tagged_entries()

mod_glossary_get_tagged_entries ( $tag,
$exclusivemode = false,
$fromctx = 0,
$ctx = 0,
$rec = 1,
$page = 0 )

Returns glossary entries tagged with a specified tag.

This is a callback used by the tag area mod_glossary/glossary_entries to search for glossary entries tagged with a specific tag.

Parameters
core_tag_tag$tag
bool$exclusivemodeif set to true it means that no other entities tagged with this tag are displayed on the page and the per-page limit may be bigger
int$fromctxcontext id where the link was displayed, may be used by callbacks to display items in the same context first
int$ctxcontext id where to search for records
bool$recsearch in subcontexts as well
int$page0-based number of page being displayed
Return values
core_tag\output\tagindex