Added an extra parameter for the rendering function

This commit is contained in:
Mark Nelson 2013-04-11 18:21:54 +08:00
parent 7451ab20ba
commit 49a04bc7a3

View file

@ -203,9 +203,10 @@ class customcert_element_base {
* Handles rendering the element on the pdf.
* Must be overriden.
*
* @param stdClass the pdf object, see lib/pdflib.php
* @param stdClass $pdf the pdf object
* @param int $userid
*/
public function render($pdf) {
public function render($pdf, $userid) {
// Must be overriden.
return false;
}