Class to display items tagged with a specific tag.
More...
|
| __construct ($tag, $component, $itemtype, $content, $exclusivemode=false, $fromctx=0, $ctx=0, $rec=1, $page=0, $totalpages=1) |
| Constructor. More...
|
|
| __get ($name) |
| Magic getter. More...
|
|
| __isset ($name) |
| Magic isset. More...
|
|
| __set ($name, $value) |
| Magic setter. More...
|
|
| export_for_template (renderer_base $output) |
| Export this data so it can be used as the context for a mustache template. More...
|
|
|
stdClass | $record |
|
core_tag_tag stdClass | $tag |
|
stdClass | $tagarea |
|
Class to display items tagged with a specific tag.
- Copyright
- 2015 Marina Glancy
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
core_tag\output\tagindex::__construct |
( |
|
$tag, |
|
|
|
$component, |
|
|
|
$itemtype, |
|
|
|
$content, |
|
|
|
$exclusivemode = false , |
|
|
|
$fromctx = 0 , |
|
|
|
$ctx = 0 , |
|
|
|
$rec = 1 , |
|
|
|
$page = 0 , |
|
|
|
$totalpages = 1 |
|
) |
| |
Constructor.
- Parameters
-
core_tag_tag | stdClass | $tag | |
string | $component | |
string | $itemtype | |
string | $content | |
bool | $exclusivemode | |
int | $fromctx | context id where the link was displayed, may be used by callbacks to display items in the same context first |
int | $ctx | context id where we need to search for items |
int | $rec | search items in sub contexts as well |
int | $page | |
bool | $totalpages | |
◆ __get()
core_tag\output\tagindex::__get |
( |
|
$name | ) |
|
Magic getter.
- Parameters
-
- Return values
-
◆ __isset()
core_tag\output\tagindex::__isset |
( |
|
$name | ) |
|
Magic isset.
- Parameters
-
- Return values
-
◆ __set()
core_tag\output\tagindex::__set |
( |
|
$name, |
|
|
|
$value |
|
) |
| |
◆ export_for_template()
core_tag\output\tagindex::export_for_template |
( |
renderer_base |
$output | ) |
|
Export this data so it can be used as the context for a mustache template.
- Parameters
-
- Return values
-
Implements templatable.
The documentation for this class was generated from the following file: