|
Moodle PHP Documentation 4.4
Moodle 4.4.9+ (Build: 20250711) (4ea86454947)
|
Keeps track of the analysis results by storing the results in an array. More...
Public Member Functions | |
| add_analysable_results (array $results) | |
| Stores the analysis results. | |
| format_result (array $data, core_analytics\local\target\base $target, core_analytics\local\time_splitting\base $timesplitting, core_analytics\analysable $analysable) | |
| Formats the result. | |
| get () | |
| Returns the results of the analysis. | |
| retrieve_cached_result (\core_analytics\local\time_splitting\base $timesplitting, core_analytics\analysable $analysable) | |
| Retrieves cached results during evaluation. | |
Protected Attributes | |
| bool | $includetarget |
| int | $modelid |
| array | $options |
| Analysis options. | |
Keeps track of the analysis results by storing the results in an array.
| core_analytics\local\analysis\result_array::add_analysable_results | ( | array | $results | ) |
Stores the analysis results.
| array | $results |
| bool | True if anything was successfully analysed |
Reimplemented from core_analytics\local\analysis\result.
| core_analytics\local\analysis\result_array::format_result | ( | array | $data, |
| core_analytics\local\target\base | $target, | ||
| core_analytics\local\time_splitting\base | $timesplitting, | ||
| core_analytics\analysable | $analysable ) |
Formats the result.
| array | $data | |
| core_analytics\local\target\base | $target | |
| core_analytics\local\time_splitting\base | $timesplitting | |
| core_analytics\analysable | $analysable |
| mixed | The data as it comes |
Reimplemented from core_analytics\local\analysis\result.
| core_analytics\local\analysis\result_array::get | ( | ) |
Returns the results of the analysis.
| array |
Reimplemented from core_analytics\local\analysis\result.
|
inherited |
Retrieves cached results during evaluation.
| core_analytics\local\time_splitting\base | $timesplitting | |
| core_analytics\analysable | $analysable |
| mixed | It can be in whatever format the result uses. |
Reimplemented in core_analytics\local\analysis\result_file.