- Timestamp:
- 03/15/10 16:00:11 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/workflow/branches/609/inc/class.run_activity.inc.php
r2249 r2253 10 10 \**************************************************************************/ 11 11 12 require_once(dirname(__FILE__) . SEP . 'common.inc.php'); /* including common deifinitions */ 12 13 require_once(dirname(__FILE__) . SEP . 'class.WorkflowUtils.inc.php' ); /* superclass source code */ 13 14 require_once(dirname(__FILE__) . SEP . 'class.basecontroller.inc.php' ); /* module controller */ 14 15 require_once(dirname(__FILE__) . SEP . 'class.basemodel.inc.php' ); /* module logic */ 15 //require_once(dirname(__FILE__) . SEP . 'class.process_factory.inc.php'); /* module process factory class */16 16 require_once(dirname(__FILE__) . SEP . 'class.utils.security.php' ); /* sanitizes input data */ 17 17 … … 206 206 { 207 207 parent::WorkflowUtils(); 208 $this->runtime = CreateObject('workflow.workflow_wfruntime');208 $this->runtime = Factory::getInstance('workflow_wfruntime'); 209 209 $this->runtime->setDebug(_DEBUG); 210 //$this->base_activity = CreateObject('workflow.workflow_baseactivity');211 //$this->process = CreateObject('workflow.workflow_process');212 $this->GUI = CreateObject('workflow.workflow_gui');210 //$this->base_activity = Factory::getInstance('workflow_baseactivity'); 211 //$this->process = Factory::getInstance('workflow_process'); 212 $this->GUI = Factory::getInstance('workflow_gui'); 213 213 $this->categories = CreateObject('phpgwapi.categories'); 214 214 215 $this->workflowSmarty = CreateObject('workflow.workflow_smarty', false);215 $this->workflowSmarty = Factory::getInstance('workflow_smarty', false); 216 216 // TODO: open a new connection to the database under a different username to allow privilege handling on tables 217 217 /* CELEPAR */ … … 386 386 return false; 387 387 } 388 $smarty = CreateObject('workflow.process_smarty');388 $smarty = Factory::getInstance('process_smarty'); 389 389 } 390 390 … … 399 399 /* #celepar# smarty code*/ 400 400 401 $smarty = CreateObject('workflow.process_smarty');401 $smarty = Factory::getInstance('process_smarty'); 402 402 403 403 $smarty->template_dir = GALAXIA_PROCESSES.SEP.$this->process->getNormalizedName().SEP.'code'.SEP.'templates';
Note: See TracChangeset
for help on using the changeset viewer.