Changeset 3167 for branches/2.2/workflow/inc/class.ui_phpeditor.inc.php
- Timestamp:
- 08/17/10 16:17:12 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/workflow/inc/class.ui_phpeditor.inc.php
r795 r3167 11 11 12 12 require_once dirname(__FILE__) . SEP . 'engine' . SEP . 'config.ajax.inc.php'; 13 require_once GALAXIA_LIBRARY . SEP . 'src' . SEP . 'ProcessManager' . SEP . 'ProcessManager.php';14 13 require_once dirname(__FILE__) . SEP . 'class.ui_ajaxinterface.inc.php'; 15 14 /** … … 45 44 function ui_phpeditor() 46 45 { 47 $this->bo = CreateObject('workflow.bo_editor');46 $this->bo = Factory::getInstance('bo_editor'); 48 47 $this->loadVariables(); 49 48 } … … 62 61 function form() 63 62 { 64 $smarty = $GLOBALS['workflow']['factory']->getInstance('workflow_smarty', false);65 $processManager = new ProcessManager($GLOBALS['workflow']['workflowObjects']->getDBGalaxia()->Link_ID);63 $smarty = Factory::getInstance('workflow_smarty', false); 64 $processManager = &Factory::newInstance('ProcessManager'); 66 65 $proccessInfo = $processManager->get_process($_GET['proc_id']); 67 66
Note: See TracChangeset
for help on using the changeset viewer.