MT-28
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user