This commit is contained in:
dheeyi
2016-03-22 17:28:13 -04:00
parent 74e5257dde
commit 6ce6c7fa45
2 changed files with 28 additions and 26 deletions

View File

@@ -22,7 +22,8 @@ class GranularImporter
/**
* Load Objects List Selected
*/
public function loadObjectsListSelected($data, $aGranular) {
public function loadObjectsListSelected($data, $aGranular)
{
$objectList = array();
if (in_array('PROCESSDEFINITION', $aGranular)) {
$objectList['PROCESSDEFINITION'] = $this->structureBpmnData($data['tables']['bpmn']);
@@ -59,7 +60,8 @@ class GranularImporter
/**
* Update the structure from File
*/
public function structureBpmnData(array $tables){
public function structureBpmnData(array $tables)
{
$project = $tables["project"][0];
$diagram = $tables["diagram"][0];
$diagram["activities"] = (isset($tables["activity"])) ? $tables["activity"] : array();

View File

@@ -31,7 +31,7 @@ class NullMigrator implements Importable, Exportable
// TODO: Implement beforeImport() method.
}
public function import($data)
public function import($data, $replace)
{
// TODO: Implement import() method.
}