#6 Added ability to view other users' certificates
This commit is contained in:
parent
a135007160
commit
ff049e2c1b
16 changed files with 90 additions and 32 deletions
|
@ -133,8 +133,9 @@ class element extends \mod_customcert\element {
|
|||
*
|
||||
* @param \pdf $pdf the pdf object
|
||||
* @param bool $preview true if it is a preview, false otherwise
|
||||
* @param \stdClass $user the user we are rendering this for
|
||||
*/
|
||||
public function render($pdf, $preview) {
|
||||
public function render($pdf, $preview, $user) {
|
||||
global $CFG;
|
||||
|
||||
// If there is no element data, we have nothing to display.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue