Changed the render function to abstract as it is required by all elements
This commit is contained in:
parent
04cf229d16
commit
9d58850d63
1 changed files with 1 additions and 3 deletions
|
@ -173,9 +173,7 @@ abstract class customcert_element_base {
|
||||||
* @param pdf $pdf the pdf object
|
* @param pdf $pdf the pdf object
|
||||||
* @param bool $preview true if it is a preview, false otherwise
|
* @param bool $preview true if it is a preview, false otherwise
|
||||||
*/
|
*/
|
||||||
public function render($pdf, $preview) {
|
public abstract function render($pdf, $preview);
|
||||||
// Must be overridden.
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Common behaviour for rendering specified content on the pdf.
|
* Common behaviour for rendering specified content on the pdf.
|
||||||
|
|
Loading…
Reference in a new issue