Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Contains class core_tag\output\tagindex

Copyright: 2015 Marina Glancy
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 161 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

tagindex:: (5 methods):
  __construct()
  __set()
  __get()
  __isset()
  export_for_template()


Class: tagindex  - X-Ref

Class to display items tagged with a specific tag

__construct($tag, $component, $itemtype, $content,$exclusivemode = false, $fromctx = 0, $ctx = 0, $rec = 1, $page = 0, $totalpages = 1)   X-Ref
Constructor

param: core_tag_tag|stdClass $tag
param: string $component
param: string $itemtype
param: string $content
param: bool $exclusivemode
param: int $fromctx context id where the link was displayed, may be used by callbacks
param: int $ctx context id where we need to search for items
param: int $rec search items in sub contexts as well
param: int $page
param: bool $totalpages

__set($name, $value)   X-Ref
Magic setter

param: string $name
param: mixed $value

__get($name)   X-Ref
Magic getter

param: string $name
return: mixed

__isset($name)   X-Ref
Magic isset

param: string $name
return: bool

export_for_template(renderer_base $output)   X-Ref
Export this data so it can be used as the context for a mustache template.

param: renderer_base $output
return: stdClass