Added drag & drop feature to rearrange elements

This commit is contained in:
Shamim Rezaie 2015-08-05 15:38:35 +10:00 committed by Mark Nelson
parent 58d7312d9e
commit 9998fa2b4a
22 changed files with 854 additions and 6 deletions

View file

@ -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);
}
}