#6 Added ability to view other users' certificates

This commit is contained in:
Mark Nelson 2016-08-23 16:22:58 +08:00
parent d6ebc95c77
commit 6d28a15851
16 changed files with 90 additions and 32 deletions

View file

@ -159,8 +159,9 @@ abstract class 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 abstract function render($pdf, $preview);
public abstract function render($pdf, $preview, $user);
/**
* Render the element in html.