[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/question/classes/ -> external.php (summary)

External question API

Copyright: 2016 Pau Ferrer <pau@moodle.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 115 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

core_question_external:: (3 methods):
  update_flag_parameters()
  update_flag()
  update_flag_returns()


Class: core_question_external  - X-Ref

Question external functions

update_flag_parameters()   X-Ref
Returns description of method parameters

return: external_function_parameters

update_flag($qubaid, $questionid, $qaid, $slot, $checksum, $newstate)   X-Ref
Update the flag state of a question attempt.

param: int $qubaid the question usage id.
param: int $questionid the question id.
param: int $qaid the question_attempt id.
param: int $slot the slot number within the usage.
param: string $checksum checksum, as computed by {@link get_toggle_checksum()}
param: bool $newstate the new state of the flag. true = flagged.
return: array (success infos and fail infos)

update_flag_returns()   X-Ref
Returns description of method result value

return: external_description



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1