PM-4170: Importing a simplified designer process looses its type

This commit is contained in:
marcelo.cuiza
2015-11-30 17:00:15 -04:00
parent 0320db6c27
commit ee601563fd
4 changed files with 94 additions and 4 deletions

View File

@@ -415,6 +415,23 @@ class PMPlugin
throw $e;
}
}
/**
* callBack File after import process
*
* @param string $callBackFile
*
* @return void
*/
public function registerImportProcessCallback($callBackFile = '')
{
try {
$oPluginRegistry =& PMPluginRegistry::getSingleton();
$oPluginRegistry->registerImportProcessCallback($this->sNamespace, $callBackFile);
} catch (Exception $e) {
throw $e;
}
}
}
class menuDetail
@@ -754,3 +771,21 @@ class cronFile
$this->cronFile = $cronFile;
}
}
class importCallBack
{
public $namespace;
public $callBackFile;
/**
* This function is the constructor of the cronFile class
* param string $namespace
* param string $callBackFile
* @return void
*/
public function __construct($namespace, $callBackFile)
{
$this->namespace = $namespace;
$this->callBackFile = $callBackFile;
}
}