From 9d58850d63b2b4dc829215985a66c018fdc9c94f Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Thu, 25 Jul 2013 13:53:45 +0800 Subject: [PATCH] Changed the render function to abstract as it is required by all elements --- element/element.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/element/element.class.php b/element/element.class.php index 0928ce0..a7e6959 100644 --- a/element/element.class.php +++ b/element/element.class.php @@ -173,9 +173,7 @@ abstract class customcert_element_base { * @param pdf $pdf the pdf object * @param bool $preview true if it is a preview, false otherwise */ - public function render($pdf, $preview) { - // Must be overridden. - } + public abstract function render($pdf, $preview); /** * Common behaviour for rendering specified content on the pdf.