Changed the render function to abstract as it is required by all elements

This commit is contained in:
Mark Nelson 2013-07-25 13:53:45 +08:00
parent 04cf229d16
commit 9d58850d63

View file

@ -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.