mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-67832 quiz: fix lots of PHPdoc in attemptlib.php
This commit is contained in:
parent
cb38ab1e39
commit
1aacbb72d3
5 changed files with 253 additions and 107 deletions
|
@ -1680,7 +1680,8 @@ class context_to_string_translator{
|
|||
/**
|
||||
* Check capability on category
|
||||
*
|
||||
* @param int|stdClass $questionorid object or id. If an object is passed, it should include ->contextid and ->createdby.
|
||||
* @param int|stdClass|question_definition $questionorid object or id.
|
||||
* If an object is passed, it should include ->contextid and ->createdby.
|
||||
* @param string $cap 'add', 'edit', 'view', 'use', 'move' or 'tag'.
|
||||
* @param int $notused no longer used.
|
||||
* @return bool this user has the capability $cap for this question $question?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue