Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Output helper to export actions for rendering. More...
Static Public Member Functions | |
static | add_bulk_actions (\core_analytics\local\target\base $target, renderer_base $output, array $predictions, context $context) |
Add bulk actions renderables. More... | |
static | add_prediction_actions (\core_analytics\local\target\base $target, renderer_base $output, core_analytics\prediction $prediction, bool $includedetailsaction=false) |
Add the prediction actions renderable. More... | |
Output helper to export actions for rendering.
|
static |
Add bulk actions renderables.
Note that if you are planning to render the bulk actions, the provided predictions must share the same predicted value.
core_analytics::local::target::base | $target | |
renderer_base | $output | |
core_analytics::prediction[] | $predictions | Bulk actions for this set of predictions. |
context | $context | The context of these predictions. |
stdClass[]|false |
|
static |
Add the prediction actions renderable.
core_analytics::local::target::base | $target | |
renderer_base | $output | |
core_analytics::prediction | $prediction | |
bool | $includedetailsaction |
stdClass|false |