Single insight view page.
More...
|
context | $context |
|
bool | $includedetailsaction = false |
|
core_analytics model | $model |
|
core_analytics prediction | $prediction |
|
Single insight view page.
- Copyright
- 2017 David Monllao
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
report_insights\output\insight::__construct |
( |
\core_analytics\prediction | $prediction, |
|
|
core_analytics\model | $model, |
|
|
| $includedetailsaction, |
|
|
context | $context ) |
Constructor.
- Parameters
-
- Return values
-
◆ export_for_template()
report_insights\output\insight::export_for_template |
( |
\renderer_base | $output | ) |
|
Exports the data.
- Parameters
-
- Return values
-
◆ get_calculation_display()
static report_insights\output\insight::get_calculation_display |
( |
\core_analytics\calculable | $calculable, |
|
|
| $value, |
|
|
| $output, |
|
|
| $subtype = false ) |
|
static |
Returns display info for the calculated value outcome.
- Parameters
-
- Return values
-
array | The style as 'success', 'info', 'warning' or 'danger' and pix_icon |
◆ get_model()
report_insights\output\insight::get_model |
( |
| ) |
|
Model getter.
- Return values
-
The documentation for this class was generated from the following file:
- report/insights/classes/output/insight.php