MDL-67832 quiz: fix lots of PHPdoc in attemptlib.php
This commit is contained in:
+2
-1
@@ -1659,7 +1659,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?
|
||||
|
||||
Reference in New Issue
Block a user