Implemented support for element alignment
Also specifying the reference point location (the location of the element that's put at posx and posy) for each element.
This commit is contained in:
parent
7634568df1
commit
039e8bca37
7 changed files with 115 additions and 10 deletions
|
@ -54,8 +54,9 @@ class backup_customcert_activity_structure_step extends backup_activity_structur
|
|||
|
||||
// The elements.
|
||||
$element = new backup_nested_element('element', array('id'), array(
|
||||
'pageid', 'name', 'element', 'data', 'font', 'size', 'colour', 'width',
|
||||
'posx', 'posy', 'sequence', 'timecreated', 'timemodified'));
|
||||
'pageid', 'name', 'element', 'data', 'font', 'size',
|
||||
'colour', 'width', 'refpoint', 'align', 'posx',
|
||||
'posy', 'sequence', 'timecreated', 'timemodified'));
|
||||
|
||||
// Build the tree.
|
||||
$customcert->add_child($issues);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue