From 49a04bc7a3cbeb559694b784db01edbe2c87aa2e Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Thu, 11 Apr 2013 18:21:54 +0800 Subject: [PATCH] Added an extra parameter for the rendering function --- elements/element.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/elements/element.class.php b/elements/element.class.php index aefaae8..5e65d7e 100644 --- a/elements/element.class.php +++ b/elements/element.class.php @@ -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; }