- Timestamp:
- 03/19/10 17:22:08 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/workflow/branches/609/inc/class.bo_userinterface.inc.php
r2292 r2311 10 10 \**************************************************************************/ 11 11 12 require_once('class.so_userinterface.inc.php');13 12 require_once('class.bo_ajaxinterface.inc.php'); 14 13 15 require_once(GALAXIA_LIBRARY . SEP . 'src' . SEP . 'GUI' . SEP . 'GUI.php');16 require_once(GALAXIA_LIBRARY . SEP . 'src' . SEP . 'ProcessManager' . SEP . 'ActivityManager.php');17 14 /** 18 15 * @package Workflow … … 43 40 { 44 41 parent::bo_ajaxinterface(); 45 $this->so = new so_userinterface();46 $GLOBALS['ajax']->gui = new GUI(Factory::getInstance('WorkflowObjects')->getDBGalaxia()->Link_ID);42 $this->so = &Factory::getInstance('so_userinterface'); 43 $GLOBALS['ajax']->gui = &Factory::newInstance('GUI'); 47 44 } 48 45 … … 120 117 $result = array(); 121 118 122 $process = new Process(Factory::getInstance('WorkflowObjects')->getDBGalaxia()->Link_ID);119 $process = &Factory::newInstance('Process'); 123 120 $process->getProcess($pid); 124 121 $result['wf_procname'] = $process->name; … … 126 123 $result['wf_description'] = $process->description; 127 124 128 $activ_manager = new ActivityManager(Factory::getInstance('WorkflowObjects')->getDBGalaxia()->Link_ID);125 $activ_manager = &Factory::newInstance('ActivityManager'); 129 126 $result['wf_activities'] = $activ_manager->get_process_activities($pid); 130 127 … … 494 491 } 495 492 496 $instance = new Instance(Factory::getInstance('WorkflowObjects')->getDBGalaxia()->Link_ID);493 $instance = &Factory::newInstance('Instance'); 497 494 $instance->getInstance($instanceID); 498 495 499 $process = new Process(Factory::getInstance('WorkflowObjects')->getDBGalaxia()->Link_ID);496 $process = &Factory::newInstance('Process'); 500 497 $process->getProcess($instance->pId); 501 498
Note: See TracChangeset
for help on using the changeset viewer.