Class containing data for timeline block.
More...
|
string | $filter |
| The current filter preference.
|
|
string | $limit |
| The current limit preference.
|
|
string | $order |
| The current sort/order preference.
|
|
const | COURSES_PER_PAGE = 2 |
| Number of courses to load per page.
|
|
|
| get_filters_as_booleans () |
| Test the available filters with the current user preference and return an array with bool flags corresponding to which is active.
|
|
|
int | $timelineinstanceid = 0 |
| This timeline instance's ID.
|
|
|
static int | $timelineinstances = 0 |
| Number of timeline instances displayed.
|
|
Class containing data for timeline block.
- Copyright
- 2018 Ryan Wyllie ryan@.nosp@m.mood.nosp@m.le.co.nosp@m.m
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
block_timeline\output\main::__construct |
( |
| $order, |
|
|
| $filter, |
|
|
| $limit ) |
main constructor.
- Parameters
-
string | $order | Constant sort value from ../timeline/lib.php |
string | $filter | Constant filter value from ../timeline/lib.php |
string | $limit | Constant limit value from ../timeline/lib.php |
◆ export_for_template()
block_timeline\output\main::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.
◆ get_filters_as_booleans()
block_timeline\output\main::get_filters_as_booleans |
( |
| ) |
|
|
protected |
Test the available filters with the current user preference and return an array with bool flags corresponding to which is active.
- Return values
-
The documentation for this class was generated from the following file:
- blocks/timeline/classes/output/main.php