Added drag & drop feature to rearrange elements
This commit is contained in:
parent
58d7312d9e
commit
9998fa2b4a
22 changed files with 854 additions and 6 deletions
|
@ -48,4 +48,16 @@ class customcert_element_code extends customcert_element_base {
|
|||
|
||||
parent::render_content($pdf, $code);
|
||||
}
|
||||
|
||||
/**
|
||||
* Render the element in html.
|
||||
*
|
||||
* This function is used to render the element when we are using the
|
||||
* drag and drop interface to position it.
|
||||
*/
|
||||
public function render_html() {
|
||||
$code = customcert_generate_code();
|
||||
|
||||
return parent::render_html_content($code);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue