[ Index ]

PHP Cross Reference of Moodle 310

title

Body

[close]

/report/insights/classes/ -> external.php (summary)

This is the external API for this component.

Copyright: 2017 David Monllao {@link http://www.davidmonllao.com}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 225 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

external:: (12 methods):
  set_notuseful_prediction_parameters()
  set_notuseful_prediction()
  set_notuseful_prediction_returns()
  set_notuseful_prediction_is_deprecated()
  set_fixed_prediction_parameters()
  set_fixed_prediction()
  set_fixed_prediction_returns()
  set_fixed_prediction_is_deprecated()
  action_executed_parameters()
  action_executed()
  action_executed_returns()
  validate_prediction()


Class: external  - X-Ref

This is the external API for this component.

set_notuseful_prediction_parameters()   X-Ref
set_notuseful_prediction parameters.

return: external_function_parameters

set_notuseful_prediction($predictionid)   X-Ref
Flags a prediction as fixed so no need to display it any more.

param: int $predictionid
return: array an array of warnings and a boolean

set_notuseful_prediction_returns()   X-Ref
set_notuseful_prediction return

return: external_description

set_notuseful_prediction_is_deprecated()   X-Ref
Deprecated in favour of action_executed.


set_fixed_prediction_parameters()   X-Ref
set_fixed_prediction parameters.

return: external_function_parameters

set_fixed_prediction($predictionid)   X-Ref
Flags a prediction as fixed so no need to display it any more.

param: int $predictionid
return: array an array of warnings and a boolean

set_fixed_prediction_returns()   X-Ref
set_fixed_prediction return

return: external_description

set_fixed_prediction_is_deprecated()   X-Ref
Deprecated in favour of action_executed.


action_executed_parameters()   X-Ref
action_executed parameters.

return: external_function_parameters

action_executed(string $actionname, array $predictionids)   X-Ref
Stores an action executed over a group of predictions.

param: string   $actionname
param: array    $predictionids
return: array an array of warnings and a boolean

action_executed_returns()   X-Ref
action_executed return

return: external_description

validate_prediction($predictionid)   X-Ref
Validates access to the prediction and returns it.

param: int $predictionid
return: array array($model, $prediction, $context)



Generated: Wed Jan 22 11:59:49 2025 Cross-referenced by PHPXref 0.7.1