Changeset 2311 for sandbox/workflow/branches/609/inc/local
- Timestamp:
- 03/19/10 17:22:08 (14 years ago)
- Location:
- sandbox/workflow/branches/609/inc/local/classes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/workflow/branches/609/inc/local/classes/class.wf_engine.php
r2292 r2311 191 191 function getChildInstances($instanceID = null, $activityID = null) 192 192 { 193 $WFInstance = Factory::getInstance('wf_instance');193 $WFInstance = &Factory::getInstance('wf_instance'); 194 194 $preOutput = $WFInstance->getChildren($instanceID, $activityID); 195 195 $output = array(); -
sandbox/workflow/branches/609/inc/local/classes/class.wf_instance.php
r2292 r2311 423 423 424 424 /* load the required instance (for the required user) */ 425 require_once GALAXIA_LIBRARY . SEP . 'src' . SEP . 'GUI' . SEP . 'GUI.php'; 426 $GUI = new GUI($GLOBALS['workflow']['workflowObjects']->getDBGalaxia()->Link_ID); 425 $GUI = &Factory::newInstance('GUI'); 427 426 $userInstance = $GUI->gui_list_user_instances($userID, 0, -1, '', '', "(ga.wf_is_interactive = 'y') AND (gia.wf_activity_id = {$activityID}) AND (gia.wf_instance_id = {$instanceID})", false, $this->processID, true, false, true, false, false, false); 428 427 $userInstance = $userInstance['data']; -
sandbox/workflow/branches/609/inc/local/classes/class.wf_ldap.php
r2249 r2311 1 1 <?php 2 require_once PHPGW_SERVER_ROOT . SEP . 'workflow' . SEP . 'inc' . SEP . 'local' . SEP . 'classes' . SEP . 'class.wf_cached_ldap.php';3 2 4 3 /** … … 47 46 $this->ds = &$GLOBALS['workflow']['workflowObjects']->getLDAP(); 48 47 49 $this->cachedLDAP = new wf_cached_ldap();48 $this->cachedLDAP = &Factory::getInstance('wf_cached_ldap'); 50 49 $this->cachedLDAP->setOperationMode($this->cachedLDAP->OPERATION_MODE_LDAP); 51 50 }
Note: See TracChangeset
for help on using the changeset viewer.